Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0008853/0.0008853, 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.0009732/0.0009732, allocations: 219 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.927/0.927, allocations: 230.6 MB / 256 MB, free: 9.812 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.7775/0.7775, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.0008806/0.0008806, allocations: 70.86 kB / 0.7183 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4428, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02871/0.4715, allocations: 36.66 MB / 0.8537 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.4846, allocations: 11.98 MB / 0.8654 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.4863, allocations: 210.1 kB / 0.8656 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005198/0.4915, allocations: 4.454 MB / 0.8699 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.4951, allocations: 2.088 MB / 0.872 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.4986, allocations: 2.465 MB / 0.8744 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006465/0.5051, allocations: 8.467 MB / 0.8826 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/0.5113, allocations: 6.241 MB / 0.8887 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.5156, allocations: 3.841 MB / 0.8925 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.5199, allocations: 4.428 MB / 0.8968 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009854/0.5208, allocations: 0.7812 MB / 0.8976 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.5238, allocations: 2.071 MB / 0.8996 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.5259, allocations: 3.137 MB / 0.9027 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.5284, allocations: 3.4 MB / 0.906 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008593/0.537, allocations: 12.02 MB / 0.9177 GB, free: 15.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.537, allocations: 0 / 0.9177 GB, free: 15.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.537, allocations: 3.938 kB / 0.9177 GB, free: 15.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001632/0.5372, allocations: 0 / 0.9177 GB, free: 15.43 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00654/0.5437, allocations: 5.863 MB / 0.9234 GB, free: 9.512 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5438, allocations: 12.03 kB / 0.9235 GB, free: 9.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006595/0.5444, allocations: 0.809 MB / 0.9242 GB, free: 8.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.5472, allocations: 1.09 MB / 0.9253 GB, free: 7.586 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.5509, allocations: 3.411 MB / 0.9286 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.551, allocations: 411.5 kB / 0.929 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004832/0.5515, allocations: 0.547 MB / 0.9296 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008683/0.5602, allocations: 9.075 MB / 0.9384 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.723e-05/0.5603, allocations: 27.81 kB / 0.9385 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.5606, allocations: 236 kB / 0.9387 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.5609, allocations: 350.8 kB / 0.939 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007139/0.568, allocations: 6.83 MB / 0.9457 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.592, allocations: 39.5 MB / 0.9843 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.5942, allocations: 2.302 MB / 0.9865 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.5965, allocations: 1.775 MB / 0.9882 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-05/0.5966, allocations: 22 kB / 0.9883 GB, free: 3.012 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5966, allocations: 52.56 kB / 0.9883 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=179): time 2.535e-06/0.5966, allocations: 3.938 kB / 0.9883 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of matching and sorting (n=182): time 0.01396/0.6105, allocations: 9.686 MB / 0.9978 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6106, allocations: 69.41 kB / 0.9978 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.6118, allocations: 1.53 MB / 0.9993 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.6118, allocations: 57.7 kB / 0.9994 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/0.6127, allocations: 2.327 MB / 1.002 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.613, allocations: 0.6622 MB / 1.002 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.6134, allocations: 412 kB / 1.003 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.6135, allocations: 305.1 kB / 1.003 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.6148, allocations: 1.179 MB / 1.004 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.6161, allocations: 1.885 MB / 1.006 GB, free: 424 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.6187, allocations: 3.371 MB / 1.009 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6187, allocations: 4 kB / 1.009 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004465/0.6232, allocations: 4.535 MB / 1.014 GB, free: 8.168 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6232, allocations: 18.34 kB / 1.014 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.6232, allocations: 20 kB / 1.014 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/0.6252, allocations: 1.595 MB / 1.015 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.6258, allocations: 343.4 kB / 1.016 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.6401, allocations: 18.18 MB / 1.033 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.6408, allocations: 119.9 kB / 1.034 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/0.6409, allocations: 96 kB / 1.034 GB, free: 3.348 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00229/0.6432, allocations: 1.898 MB / 1.035 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.6434, allocations: 234.5 kB / 1.036 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.6477, allocations: 4.036 MB / 1.04 GB, free: 13.14 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.6477, allocations: 16 kB / 1.04 GB, free: 13.13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.6477, allocations: 16 kB / 1.04 GB, free: 13.11 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6477, allocations: 15.91 kB / 1.04 GB, free: 13.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/0.6566, allocations: 9.414 MB / 1.049 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6566, allocations: 4.562 kB / 1.049 GB, free: 3.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.6569, allocations: 179.7 kB / 1.049 GB, free: 3.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.6587, allocations: 1.355 MB / 1.05 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.6587, allocations: 43.92 kB / 1.05 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.6718, allocations: 16.95 MB / 1.067 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.6718, allocations: 15.92 kB / 1.067 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.6756, allocations: 4.032 MB / 1.071 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/0.6762, allocations: 478.3 kB / 1.071 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.6763, allocations: 43.92 kB / 1.071 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.6768, allocations: 83.91 kB / 1.071 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.677, allocations: 170 kB / 1.072 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.6771, allocations: 48 kB / 1.072 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008926/0.678, allocations: 1.005 MB / 1.073 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.678, allocations: 0 / 1.073 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002173/0.6802, allocations: 0.9922 MB / 1.074 GB, free: 9.477 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004034/0.6842, allocations: 4.618 MB / 1.078 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004327/0.6885, allocations: 4.167 MB / 1.082 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6885, allocations: 0 / 1.082 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.6908, allocations: 2.579 MB / 1.085 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6925, allocations: 0.7878 MB / 1.085 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/0.7202, allocations: 27.02 MB / 1.112 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.723, allocations: 3.573 MB / 1.115 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009209/0.7239, allocations: 467.9 kB / 1.116 GB, free: 13 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.7252, allocations: 1.788 MB / 1.118 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of SimCode: time 1.352e-06/0.7252, allocations: 0 / 1.118 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4095/1.135, allocations: 76.45 MB / 1.192 GB, free: 264.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.794/10.93, allocations: 9.25 kB / 1.192 GB, free: 264.7 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.91793759004213] Failed to read output from testmodel.py, exit status != 0: 11.034641896141693 11.043648698 10.50509368 Calling exit ...