Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 101.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 212 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9577/0.9577, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.768/0.768, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 65.42 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5117, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006378/0.5181, allocations: 6.547 MB / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004926/0.523, allocations: 3.069 MB / 0.8272 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.5237, allocations: 40.28 kB / 0.8272 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.5254, allocations: 0.9483 MB / 0.8282 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.5269, allocations: 0.5222 MB / 0.8287 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.5281, allocations: 453.6 kB / 0.8291 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.53, allocations: 1.227 MB / 0.8303 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.531, allocations: 0.5236 MB / 0.8308 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.5322, allocations: 0.4886 MB / 0.8313 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.5333, allocations: 0.5166 MB / 0.8318 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.5335, allocations: 65.97 kB / 0.8319 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009274/0.5344, allocations: 351.7 kB / 0.8322 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.5348, allocations: 318.1 kB / 0.8325 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.5354, allocations: 375.5 kB / 0.8329 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.5378, allocations: 1.243 MB / 0.8341 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5378, allocations: 1.469 kB / 0.8341 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.957e-06/0.5378, allocations: 0 / 0.8341 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.29e-05/0.5378, allocations: 0 / 0.8341 GB, free: 7.723 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002385/0.5402, allocations: 1.118 MB / 0.8352 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.5403, allocations: 9.438 kB / 0.8352 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5404, allocations: 115.4 kB / 0.8353 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5416, allocations: 247.5 kB / 0.8355 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.5425, allocations: 0.5342 MB / 0.836 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.5425, allocations: 43.53 kB / 0.8361 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.5426, allocations: 70.48 kB / 0.8361 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.5441, allocations: 1.338 MB / 0.8374 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.5441, allocations: 11.16 kB / 0.8375 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.5442, allocations: 34.02 kB / 0.8375 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.5443, allocations: 87.41 kB / 0.8376 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5453, allocations: 0.7494 MB / 0.8383 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.549, allocations: 4.628 MB / 0.8428 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.5498, allocations: 0.5164 MB / 0.8433 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.5501, allocations: 283.5 kB / 0.8436 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.5501, allocations: 5.438 kB / 0.8436 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5502, allocations: 42.38 kB / 0.8436 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.5502, allocations: 0 / 0.8436 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002647/0.5528, allocations: 1.683 MB / 0.8453 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.5529, allocations: 57.41 kB / 0.8453 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.5534, allocations: 0.5807 MB / 0.8459 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.5535, allocations: 36.89 kB / 0.8459 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.5537, allocations: 425.3 kB / 0.8464 GB, free: 15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.5538, allocations: 176.8 kB / 0.8465 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5539, allocations: 127.6 kB / 0.8466 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5541, allocations: 382.2 kB / 0.847 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.5544, allocations: 271.5 kB / 0.8473 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.5549, allocations: 499.4 kB / 0.8477 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.5557, allocations: 0.8146 MB / 0.8485 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5557, allocations: 1.344 kB / 0.8485 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001348/0.557, allocations: 1.081 MB / 0.8496 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5571, allocations: 8.438 kB / 0.8496 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5571, allocations: 7.375 kB / 0.8496 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.5576, allocations: 280.9 kB / 0.8499 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.5579, allocations: 125.7 kB / 0.85 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.5627, allocations: 6.687 MB / 0.8565 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.5632, allocations: 34.56 kB / 0.8566 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.5632, allocations: 31 kB / 0.8566 GB, free: 6.375 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004311/0.5637, allocations: 258.8 kB / 0.8568 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.5638, allocations: 76.59 kB / 0.8569 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.5649, allocations: 0.8759 MB / 0.8578 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5649, allocations: 5.5 kB / 0.8578 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5649, allocations: 3.031 kB / 0.8578 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5649, allocations: 4.891 kB / 0.8578 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.5669, allocations: 1.606 MB / 0.8593 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5669, allocations: 10.23 kB / 0.8594 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.5671, allocations: 67.16 kB / 0.8594 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.5676, allocations: 266.8 kB / 0.8597 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.5676, allocations: 7.375 kB / 0.8597 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004282/0.5719, allocations: 6.672 MB / 0.8662 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5719, allocations: 10.5 kB / 0.8662 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5731, allocations: 0.9787 MB / 0.8672 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.5733, allocations: 116.2 kB / 0.8673 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.5734, allocations: 15.78 kB / 0.8673 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.5736, allocations: 30.12 kB / 0.8673 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5737, allocations: 46.47 kB / 0.8674 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5738, allocations: 18.83 kB / 0.8674 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003798/0.5741, allocations: 393.2 kB / 0.8678 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.5741, allocations: 0 / 0.8678 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007478/0.5749, allocations: 225.1 kB / 0.868 GB, free: 13.24 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.5762, allocations: 1.529 MB / 0.8695 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.5777, allocations: 1.224 MB / 0.8707 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5777, allocations: 1.094 kB / 0.8707 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.5785, allocations: 0.875 MB / 0.8715 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.5793, allocations: 220.5 kB / 0.8717 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/0.5867, allocations: 6.408 MB / 0.878 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.5871, allocations: 416.8 kB / 0.8784 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.5874, allocations: 118 kB / 0.8785 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.5877, allocations: 255.4 kB / 0.8787 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/0.5877, allocations: 0 / 0.8787 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.6289, allocations: 19.34 MB / 0.8976 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.859, allocations: 7.875 kB / 0.8976 GB, free: 2.039 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.827076823916286] Failed to read output from testmodel.py, exit status != 0: 7.945016358979046 7.954382164 7.414264759 Calling exit ...