Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.0009599/0.0009599, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001009/0.001009, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9807/0.9807, allocations: 230.6 MB / 256 MB, free: 9.582 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.7939/0.7939, 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001181/0.001181, allocations: 72.23 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5118, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01975/0.5315, allocations: 22.23 MB / 0.8391 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.5424, allocations: 6.453 MB / 0.8454 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.5448, allocations: 125.5 kB / 0.8455 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.5475, allocations: 1.518 MB / 0.847 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.5514, allocations: 1.943 MB / 0.8489 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.5545, allocations: 1.465 MB / 0.8503 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007378/0.5619, allocations: 6.901 MB / 0.8571 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/0.5672, allocations: 3.726 MB / 0.8607 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.5721, allocations: 2.934 MB / 0.8636 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005383/0.5775, allocations: 3.562 MB / 0.8671 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.579, allocations: 0.5269 MB / 0.8676 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.5821, allocations: 1.117 MB / 0.8687 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004295/0.5864, allocations: 2.529 MB / 0.8711 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004437/0.5908, allocations: 2.05 MB / 0.8731 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007403/0.5982, allocations: 8.588 MB / 0.8815 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5982, allocations: 0 / 0.8815 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5982, allocations: 0 / 0.8815 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002022/0.5984, allocations: 0 / 0.8815 GB, free: 4.188 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007188/0.6056, allocations: 4.475 MB / 0.8859 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6057, allocations: 12.03 kB / 0.8859 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007343/0.6064, allocations: 0.5714 MB / 0.8865 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.6113, allocations: 1.699 MB / 0.8881 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.6151, allocations: 2.668 MB / 0.8907 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.6154, allocations: 275.7 kB / 0.891 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.6159, allocations: 372.2 kB / 0.8913 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00976/0.6257, allocations: 7.712 MB / 0.8989 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.235e-05/0.6258, allocations: 11.92 kB / 0.8989 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004387/0.6262, allocations: 159.9 kB / 0.899 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003931/0.6266, allocations: 483.3 kB / 0.8995 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007767/0.6344, allocations: 5.697 MB / 0.9051 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.6589, allocations: 20.55 MB / 0.9251 GB, free: 6.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.6612, allocations: 2.025 MB / 0.9271 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.6632, allocations: 2.1 MB / 0.9292 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.6633, allocations: 21.31 kB / 0.9292 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6634, allocations: 43.88 kB / 0.9292 GB, free: 2.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=146): time 3.567e-06/0.6634, allocations: 0 / 0.9292 GB, free: 2.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=251): time 0.1626/0.8259, allocations: 76.72 MB / 1.004 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.826, allocations: 81.34 kB / 1.004 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.8278, allocations: 1.705 MB / 1.006 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.828, allocations: 65.7 kB / 1.006 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000899/0.8289, allocations: 1.795 MB / 1.008 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005653/0.8295, allocations: 0.8946 MB / 1.009 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006295/0.8301, allocations: 485.4 kB / 1.009 GB, free: 452 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.8302, allocations: 305.1 kB / 1.009 GB, free: 144 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.833, allocations: 2.73 MB / 1.012 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/0.8358, allocations: 3.332 MB / 1.015 GB, free: 9.828 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005684/0.8414, allocations: 6.393 MB / 1.021 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.8415, allocations: 4 kB / 1.021 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01974/0.8612, allocations: 14.41 MB / 1.036 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.8612, allocations: 20.2 kB / 1.036 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.8613, allocations: 20 kB / 1.036 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/0.8778, allocations: 9.194 MB / 1.045 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.8785, allocations: 307.4 kB / 1.045 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04943/0.928, allocations: 51.02 MB / 1.095 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.9297, allocations: 223.7 kB / 1.095 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.9299, allocations: 100 kB / 1.095 GB, free: 7.113 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.9318, allocations: 1.582 MB / 1.097 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.9321, allocations: 258.5 kB / 1.097 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/0.9512, allocations: 14.48 MB / 1.111 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.9512, allocations: 24 kB / 1.111 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.152e-05/0.9513, allocations: 44 kB / 1.111 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.9513, allocations: 15.89 kB / 1.111 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/0.9765, allocations: 19.52 MB / 1.13 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.9765, allocations: 8.125 kB / 1.13 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.9769, allocations: 167.7 kB / 1.13 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01625/0.9932, allocations: 8.967 MB / 1.139 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/0.9935, allocations: 48 kB / 1.139 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4346/1.428, allocations: 50.59 MB / 1.188 GB, free: 271.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.428, allocations: 13.66 kB / 1.188 GB, free: 271.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.446, allocations: 14.1 MB / 1.202 GB, free: 266.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.447, allocations: 0.7811 MB / 1.203 GB, free: 265.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/1.448, allocations: 47.45 kB / 1.203 GB, free: 265.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.449, allocations: 204.8 kB / 1.203 GB, free: 265.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/1.45, allocations: 264.2 kB / 1.204 GB, free: 265.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.45, allocations: 67.06 kB / 1.204 GB, free: 265.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008799/1.451, allocations: 1.123 MB / 1.205 GB, free: 264.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/1.451, allocations: 3.812 kB / 1.205 GB, free: 264.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003253/1.454, allocations: 1.612 MB / 1.206 GB, free: 264.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01592/1.47, allocations: 14.7 MB / 1.221 GB, free: 252.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.482, allocations: 10.2 MB / 1.231 GB, free: 242 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.482, allocations: 0.875 kB / 1.231 GB, free: 242 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008494/1.49, allocations: 7.003 MB / 1.237 GB, free: 234.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.492, allocations: 0.5693 MB / 1.238 GB, free: 234.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05538/1.547, allocations: 50.51 MB / 1.287 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/1.55, allocations: 2.677 MB / 1.29 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007811/1.551, allocations: 391.3 kB / 1.29 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/1.552, allocations: 1.464 MB / 1.292 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.453e-06/1.552, allocations: 0 / 1.292 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.665, allocations: 129.3 MB / 1.418 GB, free: 49.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.095/10.76, allocations: 7.938 kB / 1.418 GB, free: 49.56 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.91260387795046] Failed to read output from testmodel.py, exit status != 0: 10.879731663037091 10.889421715 10.289341973 Calling exit ...