Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001325/0.001325, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001371/0.001371, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.437/1.437, allocations: 225.6 MB / 249.4 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] 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 1.08/1.08, allocations: 175.7 MB / 480.2 MB, free: 2.789 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 72.11 kB / 0.6679 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.193, allocations: 94.53 MB / 0.7602 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.05288/0.2458, allocations: 39.26 MB / 0.7986 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.2701, allocations: 13.58 MB / 0.8118 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/0.2741, allocations: 171.1 kB / 0.812 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.2852, allocations: 4.032 MB / 0.8159 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008171/0.2933, allocations: 2.608 MB / 0.8185 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008319/0.3017, allocations: 2.78 MB / 0.8212 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01452/0.3162, allocations: 9.571 MB / 0.8305 GB, free: 8.602 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.327, allocations: 5.253 MB / 0.8357 GB, free: 3.215 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4277/0.7547, allocations: 4.066 MB / 0.8396 GB, free: 17.8 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009104/0.7638, allocations: 4.665 MB / 0.8442 GB, free: 17.79 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003552/0.7674, allocations: 0.7706 MB / 0.8449 GB, free: 17.79 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006396/0.7738, allocations: 1.811 MB / 0.8467 GB, free: 17.79 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.006204/0.78, allocations: 3.112 MB / 0.8498 GB, free: 17.49 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.008196/0.7882, allocations: 3.582 MB / 0.8532 GB, free: 16.62 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.8053, allocations: 11.89 MB / 0.8649 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.8053, allocations: 0 / 0.8649 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8053, allocations: 0 / 0.8649 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0003541/0.8056, allocations: 1.281 kB / 0.8649 GB, free: 15.43 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.03339/0.839, allocations: 6.528 MB / 0.8712 GB, free: 12.9 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.8391, allocations: 9.906 kB / 0.8712 GB, free: 12.9 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005068/0.8442, allocations: 0.7458 MB / 0.872 GB, free: 12.83 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.856, allocations: 1.331 MB / 0.8733 GB, free: 12.48 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009829/0.8658, allocations: 3.813 MB / 0.877 GB, free: 11.24 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.8662, allocations: 383.3 kB / 0.8774 GB, free: 11.23 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/0.869, allocations: 0.4989 MB / 0.8778 GB, free: 11.22 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.8899, allocations: 8.888 MB / 0.8865 GB, free: 6.918 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.8901, allocations: 28.42 kB / 0.8866 GB, free: 6.91 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.8911, allocations: 224.6 kB / 0.8868 GB, free: 6.758 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.8931, allocations: 0.6296 MB / 0.8874 GB, free: 6.543 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.9097, allocations: 7.014 MB / 0.8942 GB, free: 3.016 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/0.9698, allocations: 40.11 MB / 0.9334 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/0.9742, allocations: 2.655 MB / 0.936 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/0.9779, allocations: 2.423 MB / 0.9384 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.9781, allocations: 26.09 kB / 0.9384 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.9782, allocations: 76.53 kB / 0.9385 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=265): time 4.709e-06/0.9782, allocations: 4 kB / 0.9385 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=424): time 0.3084/1.287, allocations: 74.6 MB / 1.011 GB, free: 14.2 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/1.287, allocations: 94.73 kB / 1.011 GB, free: 14.09 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003963/1.291, allocations: 2.356 MB / 1.014 GB, free: 11.73 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.292, allocations: 103.1 kB / 1.014 GB, free: 11.62 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/1.294, allocations: 2.401 MB / 1.016 GB, free: 9.211 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.296, allocations: 1.509 MB / 1.018 GB, free: 7.719 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/1.297, allocations: 0.7217 MB / 1.018 GB, free: 6.984 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.298, allocations: 305.1 kB / 1.019 GB, free: 6.684 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004766/1.302, allocations: 2.999 MB / 1.022 GB, free: 3.676 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005436/1.308, allocations: 3.838 MB / 1.025 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.319, allocations: 7.388 MB / 1.033 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.319, allocations: 8 kB / 1.033 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02998/1.349, allocations: 12.39 MB / 1.045 GB, free: 11.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/1.349, allocations: 16 kB / 1.045 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/1.349, allocations: 20 kB / 1.045 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/1.372, allocations: 6.033 MB / 1.051 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.375, allocations: 493.7 kB / 1.051 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1067/1.482, allocations: 73.05 MB / 1.122 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.486, allocations: 219.7 kB / 1.123 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005475/1.487, allocations: 160 kB / 1.123 GB, free: 8.715 MB / 0.8731 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004721/1.492, allocations: 1.984 MB / 1.125 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.493, allocations: 409.5 kB / 1.125 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02988/1.523, allocations: 12.04 MB / 1.137 GB, free: 10.38 MB / 0.8888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.617e-05/1.523, allocations: 40 kB / 1.137 GB, free: 10.34 MB / 0.8888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001748/1.523, allocations: 55.22 kB / 1.137 GB, free: 10.29 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.132e-05/1.523, allocations: 19.92 kB / 1.137 GB, free: 10.27 MB / 0.8888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04607/1.569, allocations: 18.96 MB / 1.155 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.189e-05/1.569, allocations: 8 kB / 1.155 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.572, allocations: 287 kB / 1.156 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02225/1.594, allocations: 5.58 MB / 1.161 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009321/1.595, allocations: 80.66 kB / 1.161 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5071/2.102, allocations: 70.66 MB / 1.23 GB, free: 287.4 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/2.102, allocations: 11.72 kB / 1.23 GB, free: 287.4 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02818/2.13, allocations: 15.45 MB / 1.245 GB, free: 281 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002779/2.133, allocations: 1.063 MB / 1.246 GB, free: 280.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007632/2.134, allocations: 85.8 kB / 1.246 GB, free: 280.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/2.136, allocations: 221 kB / 1.247 GB, free: 280.4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001663/2.138, allocations: 407.7 kB / 1.247 GB, free: 280.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/2.138, allocations: 109.9 kB / 1.247 GB, free: 280.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001973/2.14, allocations: 1.552 MB / 1.249 GB, free: 279.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/2.14, allocations: 0 / 1.249 GB, free: 279.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00614/2.146, allocations: 1.868 MB / 1.25 GB, free: 279.5 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02761/2.174, allocations: 16.12 MB / 1.266 GB, free: 269.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01997/2.194, allocations: 11.6 MB / 1.278 GB, free: 259.1 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.194, allocations: 0 / 1.278 GB, free: 259.1 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/2.208, allocations: 8.111 MB / 1.285 GB, free: 251.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/2.214, allocations: 1.187 MB / 1.287 GB, free: 250.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/2.318, allocations: 53.83 MB / 1.339 GB, free: 195.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/2.323, allocations: 4.095 MB / 1.343 GB, free: 191.6 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002282/2.325, allocations: 0.6708 MB / 1.344 GB, free: 190.9 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/2.327, allocations: 2.124 MB / 1.346 GB, free: 188.8 MB / 0.92 GB Notification: Performance of SimCode: time 8.41e-07/2.327, allocations: 0 / 1.346 GB, free: 188.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/2.601, allocations: 153.5 MB / 1.496 GB, free: 36.41 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/22, allocations: 6.641 kB / 1.496 GB, free: 36.41 MB / 0.92 GB " [Timeout remaining time 638] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.882607412990183] Failed to read output from testmodel.py, exit status != 0: 22.164735974016367 22.176438638 21.368283547 Calling exit ...