Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009117/0.0009117, 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.0009624/0.0009624, 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.9742/0.9742, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8121/0.8121, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_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.0009798/0.0009798, allocations: 67.97 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.522, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01247/0.5345, allocations: 13.27 MB / 0.8304 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.5462, allocations: 9.153 MB / 0.8393 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.5478, allocations: 80.84 kB / 0.8394 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.5507, allocations: 1.671 MB / 0.841 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.5555, allocations: 1.575 MB / 0.8425 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.5576, allocations: 0.7597 MB / 0.8433 GB, free: 436 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.5607, allocations: 2.534 MB / 0.8458 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.562, allocations: 1.175 MB / 0.8469 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.5634, allocations: 1.134 MB / 0.848 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.5648, allocations: 1.095 MB / 0.8491 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.5651, allocations: 164.9 kB / 0.8492 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5664, allocations: 0.7315 MB / 0.85 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.5668, allocations: 0.6287 MB / 0.8506 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007794/0.5676, allocations: 0.7746 MB / 0.8513 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.5705, allocations: 2.779 MB / 0.854 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5705, allocations: 4 kB / 0.854 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5705, allocations: 0 / 0.854 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.879e-05/0.5705, allocations: 0 / 0.854 GB, free: 9.695 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.003245/0.5738, allocations: 2.117 MB / 0.8561 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.5738, allocations: 9.344 kB / 0.8561 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001989/0.574, allocations: 194.8 kB / 0.8563 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/0.5804, allocations: 2.09 MB / 0.8583 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.5827, allocations: 1.216 MB / 0.8595 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.5827, allocations: 89.95 kB / 0.8596 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.5829, allocations: 125.4 kB / 0.8597 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/0.587, allocations: 3.076 MB / 0.8627 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.5871, allocations: 10.81 kB / 0.8628 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.5872, allocations: 50.98 kB / 0.8628 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003837/0.5876, allocations: 178.9 kB / 0.863 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/0.5927, allocations: 2.798 MB / 0.8657 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.6036, allocations: 8.342 MB / 0.8739 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.6074, allocations: 2.227 MB / 0.876 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.6091, allocations: 1.202 MB / 0.8772 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.6092, allocations: 13 kB / 0.8772 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.6092, allocations: 47.5 kB / 0.8773 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.336e-06/0.6092, allocations: 0 / 0.8773 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02523/0.6345, allocations: 12.67 MB / 0.8896 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6345, allocations: 64.72 kB / 0.8897 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.6359, allocations: 1.133 MB / 0.8908 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.636, allocations: 45.7 kB / 0.8908 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.6364, allocations: 0.7286 MB / 0.8916 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.6368, allocations: 471.9 kB / 0.892 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.6371, allocations: 263.5 kB / 0.8923 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6372, allocations: 361.9 kB / 0.8926 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.6391, allocations: 1.335 MB / 0.8939 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.6412, allocations: 1.604 MB / 0.8955 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.6453, allocations: 2.994 MB / 0.8984 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6453, allocations: 4 kB / 0.8984 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006888/0.6522, allocations: 4.4 MB / 0.9027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6523, allocations: 8 kB / 0.9027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6523, allocations: 4.875 kB / 0.9027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.6551, allocations: 1.434 MB / 0.9041 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6562, allocations: 443.2 kB / 0.9045 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.6734, allocations: 25.1 MB / 0.929 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.6752, allocations: 299.5 kB / 0.9293 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.6753, allocations: 68.03 kB / 0.9294 GB, free: 0.8203 MB / 0.698 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.0007117/0.676, allocations: 433.5 kB / 0.9298 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.6762, allocations: 171 kB / 0.93 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/0.6827, allocations: 4.414 MB / 0.9343 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.6827, allocations: 12 kB / 0.9343 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.6827, allocations: 12 kB / 0.9343 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.6827, allocations: 3.984 kB / 0.9343 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/0.6917, allocations: 6.296 MB / 0.9405 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6917, allocations: 3.938 kB / 0.9405 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.6926, allocations: 387.6 kB / 0.9408 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/0.6951, allocations: 1.304 MB / 0.9421 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.08e-05/0.6952, allocations: 39.97 kB / 0.9421 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/0.7122, allocations: 23.98 MB / 0.9656 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.7122, allocations: 7.938 kB / 0.9656 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006459/0.7187, allocations: 4.16 MB / 0.9696 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/0.7195, allocations: 386.7 kB / 0.97 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.7196, allocations: 24 kB / 0.97 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7207, allocations: 311.5 kB / 0.9703 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/0.7211, allocations: 140.6 kB / 0.9705 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.7212, allocations: 47.97 kB / 0.9705 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007895/0.722, allocations: 0.7526 MB / 0.9712 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/0.722, allocations: 0 / 0.9712 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001762/0.7237, allocations: 0.5703 MB / 0.9718 GB, free: 3.578 MB / 0.7448 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.006453/0.7302, allocations: 4.754 MB / 0.9764 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.7368, allocations: 4.974 MB / 0.9813 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7368, allocations: 0 / 0.9813 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/0.7409, allocations: 3.405 MB / 0.9846 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.7427, allocations: 0.5534 MB / 0.9852 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.7685, allocations: 19.34 MB / 1.004 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/0.7693, allocations: 0.8873 MB / 1.005 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001187/0.7705, allocations: 429.6 kB / 1.005 GB, free: 340 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006166/0.7711, allocations: 0.6321 MB / 1.006 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of SimCode: time 1.282e-06/0.7711, allocations: 0 / 1.006 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08245/0.8536, allocations: 56.37 MB / 1.061 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.786, allocations: 2.344 kB / 1.061 GB, free: 8.094 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.795904099009931] Failed to read output from testmodel.py, exit status != 0: 8.894201919902116 8.90418693 8.331597709 Calling exit ...