Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0008081/0.0008081, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008107/0.0008107, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9298/0.9298, allocations: 230.6 MB / 256 MB, free: 9.832 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.7971/0.7971, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001097/0.001097, allocations: 70.7 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4788, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01173/0.4905, allocations: 14.58 MB / 0.8321 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.5015, allocations: 9.808 MB / 0.8417 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.5025, allocations: 81.28 kB / 0.8418 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.5048, allocations: 1.736 MB / 0.8435 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.5081, allocations: 1.586 MB / 0.845 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.5097, allocations: 0.7664 MB / 0.8458 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.5121, allocations: 2.537 MB / 0.8482 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.5132, allocations: 1.192 MB / 0.8494 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5144, allocations: 1.09 MB / 0.8505 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.5156, allocations: 1.208 MB / 0.8516 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.5159, allocations: 165.7 kB / 0.8518 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.5171, allocations: 0.8095 MB / 0.8526 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.5175, allocations: 0.6372 MB / 0.8532 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007883/0.5183, allocations: 0.9368 MB / 0.8541 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.5208, allocations: 2.772 MB / 0.8568 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5208, allocations: 0 / 0.8568 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5208, allocations: 0 / 0.8568 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.731e-05/0.5208, allocations: 0 / 0.8568 GB, free: 7.211 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002973/0.5238, allocations: 2.109 MB / 0.8589 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5239, allocations: 12.84 kB / 0.8589 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.5241, allocations: 195 kB / 0.8591 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/0.5298, allocations: 2.099 MB / 0.8611 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.5316, allocations: 1.218 MB / 0.8623 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.5316, allocations: 89.89 kB / 0.8624 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.5318, allocations: 125.4 kB / 0.8625 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.5353, allocations: 2.676 MB / 0.8651 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.5353, allocations: 11.5 kB / 0.8652 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.5354, allocations: 54.95 kB / 0.8652 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/0.5357, allocations: 182.5 kB / 0.8654 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004188/0.5399, allocations: 2.793 MB / 0.8681 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008642/0.5486, allocations: 10.36 MB / 0.8782 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.5519, allocations: 2.232 MB / 0.8804 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.5535, allocations: 1.202 MB / 0.8816 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.5536, allocations: 16.98 kB / 0.8816 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5536, allocations: 47.56 kB / 0.8816 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 1.953e-06/0.5536, allocations: 0 / 0.8816 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02278/0.5764, allocations: 12.67 MB / 0.894 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5764, allocations: 72.66 kB / 0.8941 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009722/0.5774, allocations: 1.113 MB / 0.8952 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.5775, allocations: 49.7 kB / 0.8952 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.5778, allocations: 0.7326 MB / 0.8959 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.5781, allocations: 475.9 kB / 0.8964 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.5784, allocations: 263.5 kB / 0.8966 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5785, allocations: 361.9 kB / 0.897 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.5805, allocations: 1.339 MB / 0.8983 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.5824, allocations: 1.604 MB / 0.8999 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.5862, allocations: 2.995 MB / 0.9028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5862, allocations: 4 kB / 0.9028 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006394/0.5926, allocations: 4.401 MB / 0.9071 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5926, allocations: 12 kB / 0.9071 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5926, allocations: 8 kB / 0.9071 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/0.5952, allocations: 1.425 MB / 0.9085 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/0.5962, allocations: 443.2 kB / 0.9089 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/0.6127, allocations: 25.34 MB / 0.9337 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.614, allocations: 311.5 kB / 0.934 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.6141, allocations: 59.97 kB / 0.934 GB, free: 12.28 MB / 0.7136 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006016/0.6147, allocations: 445.9 kB / 0.9344 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.6148, allocations: 167 kB / 0.9346 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005857/0.6207, allocations: 4.402 MB / 0.9389 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.6207, allocations: 12 kB / 0.9389 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.6207, allocations: 16 kB / 0.9389 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6207, allocations: 7.969 kB / 0.9389 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00825/0.629, allocations: 6.696 MB / 0.9455 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.629, allocations: 4.188 kB / 0.9455 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.6298, allocations: 375.4 kB / 0.9458 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002476/0.6323, allocations: 1.318 MB / 0.9471 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.6323, allocations: 39.95 kB / 0.9472 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.6472, allocations: 24.17 MB / 0.9708 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6472, allocations: 4.031 kB / 0.9708 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006262/0.6534, allocations: 4.171 MB / 0.9748 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/0.6542, allocations: 390.7 kB / 0.9752 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6543, allocations: 24 kB / 0.9752 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009741/0.6553, allocations: 307.5 kB / 0.9755 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.6556, allocations: 128.6 kB / 0.9757 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.6556, allocations: 52.14 kB / 0.9757 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000705/0.6563, allocations: 0.7604 MB / 0.9765 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6563, allocations: 0 / 0.9765 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001472/0.6578, allocations: 0.5664 MB / 0.977 GB, free: 14.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005859/0.6637, allocations: 4.748 MB / 0.9816 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005602/0.6693, allocations: 4.962 MB / 0.9865 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6693, allocations: 4.125 kB / 0.9865 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.6729, allocations: 3.421 MB / 0.9898 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.6743, allocations: 0.5526 MB / 0.9904 GB, free: 312 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/0.6972, allocations: 19.34 MB / 1.009 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.6984, allocations: 1.473 MB / 1.011 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009076/0.6993, allocations: 429.6 kB / 1.011 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.6998, allocations: 0.6281 MB / 1.012 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of SimCode: time 1.052e-06/0.6998, allocations: 0 / 1.012 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08462/0.7845, allocations: 53.34 MB / 1.064 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.627, allocations: 11.44 kB / 1.064 GB, free: 5.125 MB / 0.8386 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.565565278986469] Failed to read output from testmodel.py, exit status != 0: 9.730048330966383 9.738682318 9.21618089 Calling exit ...