Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0008667/0.0008667, 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.001015/0.001015, allocations: 209.2 kB / 22.24 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.9724/0.9724, allocations: 230.6 MB / 256 MB, free: 9.594 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.7919/0.7919, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.0009507/0.0009507, allocations: 71.72 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5343, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008734/0.543, allocations: 9.628 MB / 0.8272 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005161/0.5482, allocations: 3.156 MB / 0.8303 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006842/0.5489, allocations: 44.81 kB / 0.8303 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.5501, allocations: 0.6062 MB / 0.8309 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.5516, allocations: 0.7739 MB / 0.8317 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.5539, allocations: 0.7502 MB / 0.8324 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003664/0.5575, allocations: 2.998 MB / 0.8353 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.5594, allocations: 1.409 MB / 0.8367 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.5616, allocations: 1.289 MB / 0.838 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.5637, allocations: 1.634 MB / 0.8396 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.5641, allocations: 239.8 kB / 0.8398 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009287/0.5651, allocations: 485.8 kB / 0.8403 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.566, allocations: 1.09 MB / 0.8413 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.5672, allocations: 0.9207 MB / 0.8422 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.5706, allocations: 3.718 MB / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5706, allocations: 1.75 kB / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5706, allocations: 0 / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.054e-05/0.5707, allocations: 0 / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003435/0.5742, allocations: 2.115 MB / 0.8479 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5742, allocations: 9.031 kB / 0.8479 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/0.5745, allocations: 261.7 kB / 0.8482 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.5795, allocations: 1.317 MB / 0.8495 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.5814, allocations: 1.273 MB / 0.8507 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.5815, allocations: 112.1 kB / 0.8508 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.5818, allocations: 149.2 kB / 0.851 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.586, allocations: 3.514 MB / 0.8544 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.5861, allocations: 5.406 kB / 0.8544 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.5862, allocations: 67.81 kB / 0.8545 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/0.5864, allocations: 204.8 kB / 0.8547 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.5902, allocations: 3.118 MB / 0.8577 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.6026, allocations: 10.08 MB / 0.8675 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.6043, allocations: 1.614 MB / 0.8691 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.6056, allocations: 1.331 MB / 0.8704 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.6056, allocations: 17 kB / 0.8704 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6057, allocations: 39.56 kB / 0.8705 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 2.535e-06/0.6057, allocations: 0 / 0.8705 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.07923/0.6849, allocations: 36.18 MB / 0.9058 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.6849, allocations: 73.34 kB / 0.9059 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.6861, allocations: 1.073 MB / 0.9069 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.6863, allocations: 57.7 kB / 0.907 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.6866, allocations: 0.8171 MB / 0.9078 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008246/0.6875, allocations: 0.6468 MB / 0.9084 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.6879, allocations: 363.5 kB / 0.9088 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.688, allocations: 301.1 kB / 0.909 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.6899, allocations: 1.928 MB / 0.9109 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.692, allocations: 2.289 MB / 0.9132 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/0.6962, allocations: 4.398 MB / 0.9175 GB, free: 14.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.6962, allocations: 4 kB / 0.9175 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01261/0.7088, allocations: 8.869 MB / 0.9261 GB, free: 5.887 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.7088, allocations: 8 kB / 0.9261 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.7088, allocations: 12 kB / 0.9261 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009629/0.7185, allocations: 4.973 MB / 0.931 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.7191, allocations: 195.6 kB / 0.9312 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03689/0.7559, allocations: 37.99 MB / 0.9683 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.7575, allocations: 99.89 kB / 0.9684 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.7576, allocations: 71.94 kB / 0.9684 GB, free: 10.05 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001556/0.7592, allocations: 0.8095 MB / 0.9692 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.7596, allocations: 147.1 kB / 0.9694 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.7732, allocations: 8.737 MB / 0.9779 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.7733, allocations: 20 kB / 0.9779 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.581e-05/0.7733, allocations: 31.94 kB / 0.978 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.7734, allocations: 7.969 kB / 0.978 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.7911, allocations: 12.66 MB / 0.9903 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7911, allocations: 4 kB / 0.9903 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.7915, allocations: 119.8 kB / 0.9905 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00947/0.8009, allocations: 4.817 MB / 0.9952 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.8011, allocations: 39.98 kB / 0.9952 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03673/0.8379, allocations: 35.93 MB / 1.03 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.8379, allocations: 7.938 kB / 1.03 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.8504, allocations: 8.441 MB / 1.039 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.8517, allocations: 0.5808 MB / 1.039 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.852, allocations: 36 kB / 1.039 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.8528, allocations: 91.89 kB / 1.039 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/0.8535, allocations: 173.5 kB / 1.039 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.8536, allocations: 51.98 kB / 1.039 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007632/0.8543, allocations: 0.7382 MB / 1.04 GB, free: 15.85 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8543, allocations: 0 / 1.04 GB, free: 15.85 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002847/0.8572, allocations: 1.004 MB / 1.041 GB, free: 14.85 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01283/0.87, allocations: 9.043 MB / 1.05 GB, free: 5.707 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008575/0.8786, allocations: 5.748 MB / 1.056 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.8786, allocations: 4.062 kB / 1.056 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.006413/0.885, allocations: 3.764 MB / 1.059 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.8863, allocations: 248.7 kB / 1.059 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04387/0.9302, allocations: 30.82 MB / 1.09 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.9317, allocations: 1.271 MB / 1.091 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001062/0.9328, allocations: 363.4 kB / 1.091 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/0.9333, allocations: 0.6086 MB / 1.092 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/0.9333, allocations: 3.938 kB / 1.092 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4581/1.391, allocations: 80.64 MB / 1.171 GB, free: 291.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.548, allocations: 7.797 kB / 1.171 GB, free: 291.8 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.63869247213006] Failed to read output from testmodel.py, exit status != 0: 9.653051616158336 9.664612619 9.0916737 Calling exit ...