Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0007613/0.0007613, 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.0007825/0.0007825, allocations: 222.3 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 1.023/1.023, allocations: 230.6 MB / 256 MB, free: 9.797 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.8148/0.8148, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001038/0.001038, allocations: 65.92 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4927, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02091/0.5137, allocations: 23.61 MB / 0.8409 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.524, allocations: 6.447 MB / 0.8472 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.5264, allocations: 124.7 kB / 0.8473 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.5292, allocations: 1.618 MB / 0.8489 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.5335, allocations: 1.726 MB / 0.8506 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.537, allocations: 1.397 MB / 0.852 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007984/0.5449, allocations: 5.94 MB / 0.8578 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.5495, allocations: 3.232 MB / 0.8609 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/0.5538, allocations: 2.48 MB / 0.8634 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004653/0.5584, allocations: 3.07 MB / 0.8664 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.5594, allocations: 456.8 kB / 0.8668 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.562, allocations: 1.114 MB / 0.8679 GB, free: 236 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.5639, allocations: 2.08 MB / 0.8699 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003099/0.567, allocations: 2.168 MB / 0.872 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.5744, allocations: 7.324 MB / 0.8792 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.5744, allocations: 0 / 0.8792 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5744, allocations: 4 kB / 0.8792 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002409/0.5747, allocations: 0 / 0.8792 GB, free: 7.039 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006374/0.5811, allocations: 3.841 MB / 0.8829 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5811, allocations: 12.03 kB / 0.8829 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/0.5816, allocations: 0.4976 MB / 0.8834 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.585, allocations: 1.231 MB / 0.8846 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.5887, allocations: 2.297 MB / 0.8869 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.5888, allocations: 246.3 kB / 0.8871 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/0.5892, allocations: 312 kB / 0.8874 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007729/0.5969, allocations: 6.212 MB / 0.8935 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/0.597, allocations: 23.81 kB / 0.8935 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.5972, allocations: 139.9 kB / 0.8936 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/0.5975, allocations: 402.3 kB / 0.894 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005554/0.6031, allocations: 4.662 MB / 0.8986 GB, free: 2.809 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02512/0.6282, allocations: 28.74 MB / 0.9266 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6296, allocations: 1.373 MB / 0.928 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.6308, allocations: 1.433 MB / 0.9294 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.6309, allocations: 13 kB / 0.9294 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.6309, allocations: 47.5 kB / 0.9294 GB, free: 460 kB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 2.525e-06/0.6309, allocations: 0 / 0.9294 GB, free: 460 kB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.07/0.7009, allocations: 37.07 MB / 0.9656 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.7009, allocations: 73.34 kB / 0.9657 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.7024, allocations: 1.423 MB / 0.9671 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.7026, allocations: 49.7 kB / 0.9671 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.7033, allocations: 1.583 MB / 0.9687 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006224/0.7039, allocations: 0.6507 MB / 0.9693 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.7043, allocations: 383.5 kB / 0.9697 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.7044, allocations: 305.1 kB / 0.97 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.706, allocations: 1.78 MB / 0.9717 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.708, allocations: 2.354 MB / 0.974 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00393/0.7119, allocations: 4.387 MB / 0.9783 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.7119, allocations: 8 kB / 0.9783 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0111/0.723, allocations: 8.435 MB / 0.9865 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.7231, allocations: 12 kB / 0.9866 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.7231, allocations: 16 kB / 0.9866 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008491/0.7316, allocations: 4.633 MB / 0.9911 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.7324, allocations: 299.5 kB / 0.9914 GB, free: 360 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/0.7622, allocations: 32.01 MB / 1.023 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.7637, allocations: 152 kB / 1.023 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.7638, allocations: 80 kB / 1.023 GB, free: 15.41 MB / 0.8073 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001977/0.7658, allocations: 1.34 MB / 1.024 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.7661, allocations: 206.7 kB / 1.024 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.7769, allocations: 8.285 MB / 1.032 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7769, allocations: 19.98 kB / 1.032 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.459e-05/0.777, allocations: 27.94 kB / 1.032 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.777, allocations: 8.219 kB / 1.033 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.7929, allocations: 12.69 MB / 1.045 GB, free: 8.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.7929, allocations: 8 kB / 1.045 GB, free: 8.605 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.7933, allocations: 163.8 kB / 1.045 GB, free: 8.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008112/0.8014, allocations: 4.495 MB / 1.049 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/0.8016, allocations: 36 kB / 1.049 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02936/0.8309, allocations: 31.61 MB / 1.08 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.8309, allocations: 7.938 kB / 1.08 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.8415, allocations: 8.105 MB / 1.088 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.8426, allocations: 0.5609 MB / 1.089 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.8428, allocations: 36 kB / 1.089 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/0.8436, allocations: 147.7 kB / 1.089 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006082/0.8442, allocations: 172.9 kB / 1.089 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.8443, allocations: 52 kB / 1.089 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001101/0.8454, allocations: 0.9626 MB / 1.09 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.8454, allocations: 0 / 1.09 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002835/0.8482, allocations: 1.117 MB / 1.091 GB, free: 8.312 MB / 0.8698 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01013/0.8584, allocations: 8.69 MB / 1.1 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008118/0.8665, allocations: 6.318 MB / 1.106 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.8665, allocations: 4 kB / 1.106 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005605/0.8721, allocations: 4.188 MB / 1.11 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.874, allocations: 0.5302 MB / 1.111 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04407/0.918, allocations: 33.53 MB / 1.143 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3712/1.289, allocations: 2.719 MB / 1.146 GB, free: 290.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001154/1.29, allocations: 384.2 kB / 1.146 GB, free: 290.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.292, allocations: 1.219 MB / 1.147 GB, free: 290.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.913e-06/1.292, allocations: 0 / 1.147 GB, free: 290.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.396, allocations: 86.59 MB / 1.232 GB, free: 236.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.459/10.85, allocations: 13.81 kB / 1.232 GB, free: 236.8 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.03838215698488] Failed to read output from testmodel.py, exit status != 0: 10.965471470961347 10.976809021 10.399781817 Calling exit ...