Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.0009132/0.0009132, 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.0007938/0.0007938, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9381/0.9381, allocations: 230.6 MB / 256 MB, free: 9.801 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.8149/0.8149, allocations: 203.8 MB / 0.5042 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 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.0009478/0.0009478, allocations: 64.61 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5351, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01452/0.5496, allocations: 16.79 MB / 0.8343 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008617/0.5583, allocations: 5.015 MB / 0.8392 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/0.5592, allocations: 87.88 kB / 0.8392 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.5613, allocations: 1.084 MB / 0.8403 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.5628, allocations: 0.784 MB / 0.8411 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.5645, allocations: 0.9513 MB / 0.842 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.5674, allocations: 3.627 MB / 0.8455 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.5697, allocations: 2.462 MB / 0.8479 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.5717, allocations: 1.611 MB / 0.8495 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.5732, allocations: 1.887 MB / 0.8514 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.5737, allocations: 342.5 kB / 0.8517 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5751, allocations: 0.8148 MB / 0.8525 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009206/0.5761, allocations: 1.362 MB / 0.8538 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.5772, allocations: 1.459 MB / 0.8552 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.5806, allocations: 5.138 MB / 0.8602 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5806, allocations: 0.9688 kB / 0.8602 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5806, allocations: 0 / 0.8602 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.795e-05/0.5807, allocations: 0 / 0.8602 GB, free: 5.648 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003304/0.584, allocations: 2.641 MB / 0.8628 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.584, allocations: 9.844 kB / 0.8628 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003307/0.5843, allocations: 371.6 kB / 0.8632 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.5864, allocations: 0.8517 MB / 0.864 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.5881, allocations: 1.528 MB / 0.8655 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.5882, allocations: 181.1 kB / 0.8657 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.5884, allocations: 233.4 kB / 0.8659 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.5926, allocations: 4.169 MB / 0.87 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.5926, allocations: 2.25 kB / 0.87 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.5928, allocations: 98.45 kB / 0.8701 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.5929, allocations: 169.4 kB / 0.8702 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.5968, allocations: 3.632 MB / 0.8738 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.6071, allocations: 15.64 MB / 0.8891 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.6088, allocations: 1.473 MB / 0.8905 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.6093, allocations: 0.5431 MB / 0.891 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.6094, allocations: 16.64 kB / 0.891 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6094, allocations: 43.22 kB / 0.8911 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/0.6094, allocations: 4 kB / 0.8911 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.003243/0.6126, allocations: 3.205 MB / 0.8942 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6127, allocations: 119.3 kB / 0.8943 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/0.6135, allocations: 1.014 MB / 0.8953 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.6135, allocations: 41.7 kB / 0.8954 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.6139, allocations: 1.138 MB / 0.8965 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.6141, allocations: 289.7 kB / 0.8967 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.6143, allocations: 279.4 kB / 0.897 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6144, allocations: 422.7 kB / 0.8974 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.615, allocations: 0.6128 MB / 0.898 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.6158, allocations: 1.185 MB / 0.8992 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.6175, allocations: 1.861 MB / 0.901 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.6175, allocations: 4 kB / 0.901 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00182/0.6193, allocations: 2.023 MB / 0.903 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.6193, allocations: 12 kB / 0.903 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6193, allocations: 20 kB / 0.903 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.6196, allocations: 163.7 kB / 0.9032 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.6201, allocations: 351.4 kB / 0.9035 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.6202, allocations: 39.86 kB / 0.9035 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.6207, allocations: 127.7 kB / 0.9037 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.6207, allocations: 75.98 kB / 0.9037 GB, free: 11.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008639/0.6216, allocations: 0.9772 MB / 0.9047 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6217, allocations: 115.3 kB / 0.9048 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.623, allocations: 1.226 MB / 0.906 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.623, allocations: 8 kB / 0.906 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.623, allocations: 4 kB / 0.906 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.623, allocations: 3.984 kB / 0.906 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.6267, allocations: 3.78 MB / 0.9097 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6267, allocations: 7.938 kB / 0.9097 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.627, allocations: 155.8 kB / 0.9098 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.6272, allocations: 139.3 kB / 0.91 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.6272, allocations: 24.25 kB / 0.91 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.6272, allocations: 7.938 kB / 0.91 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6272, allocations: 4 kB / 0.91 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.6284, allocations: 1.466 MB / 0.9114 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.6286, allocations: 203.2 kB / 0.9116 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.6287, allocations: 19.98 kB / 0.9117 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.629, allocations: 67.91 kB / 0.9117 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.6291, allocations: 64.42 kB / 0.9118 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.6291, allocations: 24 kB / 0.9118 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005395/0.6296, allocations: 0.6953 MB / 0.9125 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.6296, allocations: 0 / 0.9125 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007857/0.6304, allocations: 399.9 kB / 0.9129 GB, free: 2.148 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/0.6323, allocations: 2.034 MB / 0.9149 GB, free: 52 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.6336, allocations: 1.359 MB / 0.9162 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6336, allocations: 0 / 0.9162 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.6341, allocations: 0.5313 MB / 0.9167 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/0.6349, allocations: 270 kB / 0.917 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.646, allocations: 12.91 MB / 0.9296 GB, free: 248 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.6471, allocations: 1.916 MB / 0.9314 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006334/0.6478, allocations: 457.4 kB / 0.9319 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.6483, allocations: 0.7141 MB / 0.9326 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of SimCode: time 1.252e-06/0.6483, allocations: 0 / 0.9326 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.6836, allocations: 29.15 MB / 0.961 GB, free: 260 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.547, allocations: 7.078 kB / 0.961 GB, free: 256 kB / 0.7292 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.556177204940468] Failed to read output from testmodel.py, exit status != 0: 8.639063524082303 8.648901501 8.065763528 Calling exit ...