Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9962/0.9962, allocations: 175.7 MB / 480.1 MB, free: 2.781 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 75.69 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 94.53 MB / 0.7601 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04812/0.2029, allocations: 43.01 MB / 0.8021 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02516/0.2281, allocations: 15.72 MB / 0.8174 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.2313, allocations: 187.1 kB / 0.8176 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.2423, allocations: 4.641 MB / 0.8222 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.2494, allocations: 2.931 MB / 0.825 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007234/0.2566, allocations: 3.233 MB / 0.8282 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3258/0.5824, allocations: 11.39 MB / 0.8393 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.5934, allocations: 6.424 MB / 0.8456 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00925/0.6027, allocations: 4.912 MB / 0.8504 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.6128, allocations: 5.756 MB / 0.856 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003635/0.6164, allocations: 0.9529 MB / 0.8569 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006261/0.6227, allocations: 2.071 MB / 0.8589 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005961/0.6286, allocations: 3.788 MB / 0.8626 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.6396, allocations: 4.296 MB / 0.8668 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.6565, allocations: 14.32 MB / 0.8808 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6565, allocations: 0 / 0.8808 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6565, allocations: 0 / 0.8808 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003583/0.6569, allocations: 0 / 0.8808 GB, free: 8.32 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02189/0.6788, allocations: 7.788 MB / 0.8884 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6788, allocations: 14.73 kB / 0.8884 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003348/0.6822, allocations: 0.8961 MB / 0.8893 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009939/0.6921, allocations: 1.553 MB / 0.8908 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00817/0.7003, allocations: 4.464 MB / 0.8952 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.7006, allocations: 454.3 kB / 0.8956 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/0.7029, allocations: 0.5952 MB / 0.8962 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.7237, allocations: 10.69 MB / 0.9067 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.7238, allocations: 24.03 kB / 0.9067 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000776/0.7246, allocations: 265.7 kB / 0.9069 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/0.7273, allocations: 0.7769 MB / 0.9077 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.7436, allocations: 8.559 MB / 0.9161 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06404/0.8076, allocations: 46.61 MB / 0.9616 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006377/0.814, allocations: 3.984 MB / 0.9655 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005826/0.8198, allocations: 3.371 MB / 0.9687 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.8201, allocations: 42.78 kB / 0.9688 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.349e-05/0.8201, allocations: 73.34 kB / 0.9689 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.5e-06/0.8202, allocations: 0 / 0.9689 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.49/1.31, allocations: 122.6 MB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/1.31, allocations: 115.9 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/1.315, allocations: 2.689 MB / 1.091 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.316, allocations: 121.7 kB / 1.091 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/1.318, allocations: 2.749 MB / 1.094 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00285/1.321, allocations: 2.052 MB / 1.096 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002804/1.324, allocations: 0.9251 MB / 1.097 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.324, allocations: 304.5 kB / 1.097 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006538/1.331, allocations: 4.079 MB / 1.101 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007327/1.338, allocations: 5.022 MB / 1.106 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.353, allocations: 9.844 MB / 1.116 GB, free: 320 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/1.353, allocations: 8 kB / 1.116 GB, free: 312 kB / 0.8575 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04064/1.394, allocations: 16.75 MB / 1.132 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.394, allocations: 12 kB / 1.132 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.394, allocations: 24 kB / 1.132 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03152/1.426, allocations: 9.079 MB / 1.141 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/1.428, allocations: 0.5246 MB / 1.142 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4114/1.839, allocations: 77.03 MB / 1.217 GB, free: 299.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.844, allocations: 276.2 kB / 1.217 GB, free: 299.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006108/1.845, allocations: 189.7 kB / 1.217 GB, free: 299.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003982/1.849, allocations: 2.427 MB / 1.22 GB, free: 298.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000938/1.85, allocations: 498.4 kB / 1.22 GB, free: 298.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03106/1.881, allocations: 16.55 MB / 1.236 GB, free: 292 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.881, allocations: 53.78 kB / 1.236 GB, free: 292 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.616e-05/1.881, allocations: 73.03 kB / 1.236 GB, free: 292 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/1.881, allocations: 30.42 kB / 1.236 GB, free: 292 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04126/1.922, allocations: 25.38 MB / 1.261 GB, free: 280.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.922, allocations: 8 kB / 1.261 GB, free: 280.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.924, allocations: 316.6 kB / 1.262 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02412/1.948, allocations: 8.281 MB / 1.27 GB, free: 273.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007313/1.949, allocations: 105.4 kB / 1.27 GB, free: 273.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07487/2.024, allocations: 73.91 MB / 1.342 GB, free: 198.4 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/2.024, allocations: 11.94 kB / 1.342 GB, free: 198.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/2.057, allocations: 21.31 MB / 1.363 GB, free: 176.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/2.059, allocations: 1.384 MB / 1.364 GB, free: 175.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007122/2.06, allocations: 105.5 kB / 1.364 GB, free: 175.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002919/2.063, allocations: 291.6 kB / 1.364 GB, free: 174.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001495/2.064, allocations: 0.526 MB / 1.365 GB, free: 174.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003246/2.065, allocations: 140 kB / 1.365 GB, free: 174.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001856/2.067, allocations: 1.78 MB / 1.367 GB, free: 172.4 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/2.067, allocations: 0 / 1.367 GB, free: 172.4 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006286/2.073, allocations: 2.457 MB / 1.369 GB, free: 170 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0334/2.106, allocations: 22.02 MB / 1.391 GB, free: 147.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02046/2.127, allocations: 13.73 MB / 1.404 GB, free: 133.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/2.127, allocations: 3.656 kB / 1.404 GB, free: 133.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0147/2.141, allocations: 9.034 MB / 1.413 GB, free: 124.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/2.147, allocations: 1.375 MB / 1.414 GB, free: 123.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/2.254, allocations: 70 MB / 1.483 GB, free: 51.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004502/2.258, allocations: 4.897 MB / 1.487 GB, free: 46.63 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002111/2.261, allocations: 0.7371 MB / 1.488 GB, free: 45.89 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/2.263, allocations: 2.612 MB / 1.491 GB, free: 43.27 MB / 0.92 GB Notification: Performance of SimCode: time 8.02e-07/2.263, allocations: 0 / 1.491 GB, free: 43.27 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5592/2.822, allocations: 200 MB / 1.686 GB, free: 198.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.45/22.28, allocations: 12.05 kB / 1.686 GB, free: 198.4 MB / 0.92 GB " [Timeout remaining time 638] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.957552893989487]