Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0007763/0.0007763, allocations: 105.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.0008332/0.0008332, allocations: 208.1 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.9482/0.9482, allocations: 230.6 MB / 256 MB, free: 9.625 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.7846/0.7846, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001125/0.001125, allocations: 80.14 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.496, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02728/0.5233, allocations: 31.51 MB / 0.8486 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.5375, allocations: 10.29 MB / 0.8586 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003359/0.5409, allocations: 193.2 kB / 0.8588 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005471/0.5464, allocations: 3.729 MB / 0.8625 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.5516, allocations: 1.957 MB / 0.8644 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004494/0.5561, allocations: 2.137 MB / 0.8665 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008856/0.565, allocations: 7.326 MB / 0.8736 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009131/0.5741, allocations: 5.098 MB / 0.8786 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006303/0.5804, allocations: 3.291 MB / 0.8818 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00561/0.586, allocations: 3.453 MB / 0.8852 GB, free: 440 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.5871, allocations: 0.6446 MB / 0.8858 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.59, allocations: 1.658 MB / 0.8874 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.5922, allocations: 2.607 MB / 0.89 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.5949, allocations: 2.339 MB / 0.8923 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009103/0.604, allocations: 10.19 MB / 0.9022 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6041, allocations: 4 kB / 0.9022 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6041, allocations: 0 / 0.9022 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002514/0.6043, allocations: 0 / 0.9022 GB, free: 14.94 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009675/0.614, allocations: 5.048 MB / 0.9071 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.614, allocations: 8.031 kB / 0.9071 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000858/0.6149, allocations: 0.682 MB / 0.9078 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.6184, allocations: 0.9813 MB / 0.9088 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.6232, allocations: 2.991 MB / 0.9117 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.6234, allocations: 345.7 kB / 0.912 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006752/0.6241, allocations: 464.2 kB / 0.9125 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.6348, allocations: 7.976 MB / 0.9203 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.6349, allocations: 23.83 kB / 0.9203 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003441/0.6353, allocations: 204 kB / 0.9205 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/0.6355, allocations: 312.9 kB / 0.9208 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007552/0.643, allocations: 5.706 MB / 0.9263 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/0.6651, allocations: 22.69 MB / 0.9485 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.6667, allocations: 1.552 MB / 0.95 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009983/0.6677, allocations: 1.124 MB / 0.9511 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.6678, allocations: 17.25 kB / 0.9511 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6678, allocations: 43.88 kB / 0.9512 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 4.108e-06/0.6678, allocations: 0 / 0.9512 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.00853/0.6763, allocations: 6.215 MB / 0.9572 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.6764, allocations: 64.72 kB / 0.9573 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.6779, allocations: 1.527 MB / 0.9588 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.6779, allocations: 49.7 kB / 0.9588 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.679, allocations: 2.061 MB / 0.9609 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.6793, allocations: 0.5035 MB / 0.9613 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.6796, allocations: 351.4 kB / 0.9617 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.6797, allocations: 301.1 kB / 0.962 GB, free: 348 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008694/0.6806, allocations: 0.9135 MB / 0.9629 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.6817, allocations: 1.597 MB / 0.9644 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.6842, allocations: 2.733 MB / 0.9671 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6842, allocations: 8 kB / 0.9671 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004132/0.6883, allocations: 3.516 MB / 0.9705 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.6884, allocations: 24.19 kB / 0.9705 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.6884, allocations: 20 kB / 0.9706 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.6898, allocations: 0.8998 MB / 0.9714 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.6904, allocations: 347.4 kB / 0.9718 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.7034, allocations: 21.74 MB / 0.993 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.7045, allocations: 104 kB / 0.9931 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.7046, allocations: 84 kB / 0.9932 GB, free: 14.29 MB / 0.7761 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002082/0.7067, allocations: 1.609 MB / 0.9948 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.7069, allocations: 218.6 kB / 0.995 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.7099, allocations: 2.963 MB / 0.9979 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.71, allocations: 16 kB / 0.9979 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.71, allocations: 12 kB / 0.9979 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.71, allocations: 7.969 kB / 0.9979 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/0.7178, allocations: 6.727 MB / 1.004 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.7179, allocations: 4 kB / 1.004 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.7183, allocations: 171.7 kB / 1.005 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.7196, allocations: 0.8183 MB / 1.005 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/0.7197, allocations: 35.98 kB / 1.005 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.7323, allocations: 20.59 MB / 1.026 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.7323, allocations: 8.094 kB / 1.026 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/0.7359, allocations: 3.011 MB / 1.029 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.7369, allocations: 394.5 kB / 1.029 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.7371, allocations: 28 kB / 1.029 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.7376, allocations: 71.97 kB / 1.029 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.7378, allocations: 136.6 kB / 1.029 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.7379, allocations: 36 kB / 1.029 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009621/0.7388, allocations: 0.9756 MB / 1.03 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7388, allocations: 4 kB / 1.03 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002059/0.7409, allocations: 0.7929 MB / 1.031 GB, free: 5.91 MB / 0.8073 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003207/0.7441, allocations: 3.596 MB / 1.034 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003874/0.748, allocations: 3.917 MB / 1.038 GB, free: 14.13 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.748, allocations: 4 kB / 1.038 GB, free: 14.13 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.7502, allocations: 2.667 MB / 1.041 GB, free: 11.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.7521, allocations: 0.7311 MB / 1.042 GB, free: 10.62 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/0.7765, allocations: 22.52 MB / 1.064 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/0.7794, allocations: 2.565 MB / 1.066 GB, free: 500 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00107/0.7805, allocations: 458 kB / 1.066 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7818, allocations: 1.534 MB / 1.068 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.255e-06/0.7818, allocations: 0 / 1.068 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/0.8897, allocations: 65.69 MB / 1.132 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/9.064, allocations: 7.984 kB / 1.132 GB, free: 13.52 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.457269669976085] Failed to read output from testmodel.py, exit status != 0: 9.16990809282288 9.47732309 8.574279444 Calling exit ...