Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0007852/0.0007852, allocations: 105.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.0008912/0.0008912, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9674/0.9674, allocations: 230.6 MB / 256 MB, free: 9.605 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.7806/0.7806, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.0009651/0.0009651, allocations: 66.64 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5275, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006039/0.5336, allocations: 5.983 MB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.5382, allocations: 3.156 MB / 0.8267 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.5389, allocations: 44.53 kB / 0.8268 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.5404, allocations: 0.9331 MB / 0.8277 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5416, allocations: 496.9 kB / 0.8281 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5429, allocations: 0.5024 MB / 0.8286 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.5443, allocations: 1.106 MB / 0.8297 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.545, allocations: 0.4964 MB / 0.8302 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008459/0.5459, allocations: 467.7 kB / 0.8306 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.5465, allocations: 466.8 kB / 0.8311 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.35e-05/0.5466, allocations: 58.84 kB / 0.8312 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.5474, allocations: 445.5 kB / 0.8316 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.5477, allocations: 294.9 kB / 0.8319 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.548, allocations: 333.7 kB / 0.8322 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.5493, allocations: 1.189 MB / 0.8333 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5493, allocations: 0 / 0.8333 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5493, allocations: 1.641 kB / 0.8333 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.5493, allocations: 3.938 kB / 0.8333 GB, free: 8.18 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001428/0.5508, allocations: 1.008 MB / 0.8343 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5508, allocations: 9.938 kB / 0.8343 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5509, allocations: 117 kB / 0.8344 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.552, allocations: 224.7 kB / 0.8347 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.5528, allocations: 0.5292 MB / 0.8352 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.5528, allocations: 46.02 kB / 0.8352 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.5529, allocations: 69.42 kB / 0.8353 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5541, allocations: 1.127 MB / 0.8364 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.5542, allocations: 11.92 kB / 0.8364 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.5542, allocations: 33.08 kB / 0.8364 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.281e-05/0.5543, allocations: 65.41 kB / 0.8365 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.5552, allocations: 0.6926 MB / 0.8372 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.5589, allocations: 4.518 MB / 0.8416 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.5594, allocations: 406.2 kB / 0.842 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.56, allocations: 395.3 kB / 0.8423 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.56, allocations: 4.125 kB / 0.8424 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.56, allocations: 37.03 kB / 0.8424 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.544e-06/0.56, allocations: 1.656 kB / 0.8424 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002838/0.5629, allocations: 1.706 MB / 0.8441 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.5629, allocations: 55.31 kB / 0.8441 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.5634, allocations: 488.9 kB / 0.8446 GB, free: 376 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.5634, allocations: 34.7 kB / 0.8446 GB, free: 336 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.5636, allocations: 402.8 kB / 0.845 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5637, allocations: 150.6 kB / 0.8451 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.5639, allocations: 109.1 kB / 0.8452 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.564, allocations: 367.2 kB / 0.8456 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.5642, allocations: 242.8 kB / 0.8458 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.5646, allocations: 449.1 kB / 0.8462 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.5652, allocations: 0.7538 MB / 0.847 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5653, allocations: 2 kB / 0.847 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001206/0.5665, allocations: 1.033 MB / 0.848 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5665, allocations: 10.75 kB / 0.848 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5665, allocations: 11.5 kB / 0.848 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.5671, allocations: 316.2 kB / 0.8483 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.5673, allocations: 100.1 kB / 0.8484 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.5721, allocations: 7.015 MB / 0.8553 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.5725, allocations: 29.73 kB / 0.8553 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.5725, allocations: 29.62 kB / 0.8553 GB, free: 7.289 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.5729, allocations: 243.7 kB / 0.8556 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.573, allocations: 64.53 kB / 0.8556 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.574, allocations: 0.8821 MB / 0.8565 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.574, allocations: 8.406 kB / 0.8565 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.574, allocations: 4.312 kB / 0.8565 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.574, allocations: 3.984 kB / 0.8565 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.5758, allocations: 1.582 MB / 0.858 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5758, allocations: 1.594 kB / 0.858 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5759, allocations: 50.67 kB / 0.8581 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/0.5765, allocations: 306.3 kB / 0.8584 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.5765, allocations: 12.06 kB / 0.8584 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.5814, allocations: 7.018 MB / 0.8652 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5814, allocations: 1.438 kB / 0.8652 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.5827, allocations: 0.9809 MB / 0.8662 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.5829, allocations: 96.11 kB / 0.8663 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.583, allocations: 16.31 kB / 0.8663 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.5831, allocations: 20.98 kB / 0.8663 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5832, allocations: 50.58 kB / 0.8664 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.5833, allocations: 17.52 kB / 0.8664 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003021/0.5836, allocations: 309.3 kB / 0.8667 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1e-07/0.5836, allocations: 0 / 0.8667 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007741/0.5843, allocations: 198 kB / 0.8669 GB, free: 14.03 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.5857, allocations: 1.533 MB / 0.8684 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.5872, allocations: 1.15 MB / 0.8695 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5872, allocations: 0 / 0.8695 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.5881, allocations: 0.8364 MB / 0.8703 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.5888, allocations: 203.5 kB / 0.8705 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/0.596, allocations: 5.864 MB / 0.8762 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.5964, allocations: 400.8 kB / 0.8766 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.5967, allocations: 98.53 kB / 0.8767 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.597, allocations: 226.2 kB / 0.8769 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of SimCode: time 1.874e-06/0.597, allocations: 1.344 kB / 0.8769 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.6371, allocations: 16.96 MB / 0.8935 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/7.896, allocations: 10.88 kB / 0.8935 GB, free: 6.199 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.846250634640455] Failed to read output from testmodel.py, exit status != 0: 7.981757917907089 7.993240948 7.442045005 Calling exit ...