Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001001/0.001001, 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.00146/0.00146, allocations: 212.1 kB / 22.25 MB, free: 3.574 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.9197/0.9197, allocations: 230.6 MB / 256 MB, free: 9.582 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.8001/0.8001, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.0009779/0.0009779, allocations: 67.3 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5401, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01915/0.5592, allocations: 22.24 MB / 0.8395 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009896/0.5691, allocations: 6.447 MB / 0.8458 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.5704, allocations: 126.7 kB / 0.8459 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.5725, allocations: 1.517 MB / 0.8474 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.5751, allocations: 1.932 MB / 0.8493 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.5774, allocations: 1.464 MB / 0.8507 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005463/0.5829, allocations: 6.91 MB / 0.8575 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004098/0.587, allocations: 3.727 MB / 0.8611 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.5902, allocations: 2.93 MB / 0.864 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.5944, allocations: 3.566 MB / 0.8675 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006426/0.595, allocations: 0.527 MB / 0.868 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.5967, allocations: 1.109 MB / 0.8691 GB, free: 300 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.5985, allocations: 2.535 MB / 0.8715 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5999, allocations: 2.054 MB / 0.8735 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.6047, allocations: 8.58 MB / 0.8819 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6047, allocations: 0 / 0.8819 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6047, allocations: 3.938 kB / 0.8819 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.316e-05/0.6047, allocations: 4 kB / 0.8819 GB, free: 3.789 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004311/0.609, allocations: 4.472 MB / 0.8863 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6091, allocations: 8.031 kB / 0.8863 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004931/0.6096, allocations: 0.5714 MB / 0.8869 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.6141, allocations: 1.714 MB / 0.8885 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.617, allocations: 2.668 MB / 0.8911 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.6171, allocations: 275.7 kB / 0.8914 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.6175, allocations: 368.2 kB / 0.8918 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007665/0.6252, allocations: 7.709 MB / 0.8993 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.6252, allocations: 15.88 kB / 0.8993 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004497/0.6257, allocations: 163.9 kB / 0.8995 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003432/0.626, allocations: 487.3 kB / 0.8999 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00602/0.632, allocations: 5.697 MB / 0.9055 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.6503, allocations: 20.54 MB / 0.9255 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.6521, allocations: 2.025 MB / 0.9275 GB, free: 4.176 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.6541, allocations: 2.1 MB / 0.9296 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.6542, allocations: 13.31 kB / 0.9296 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6542, allocations: 47.88 kB / 0.9296 GB, free: 2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=146): time 2.916e-06/0.6542, allocations: 0 / 0.9296 GB, free: 2 MB / 0.698 GB Notification: Performance of matching and sorting (n=251): time 0.1521/0.8064, allocations: 76.72 MB / 1.005 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.8064, allocations: 77.41 kB / 1.005 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.8082, allocations: 1.705 MB / 1.006 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.8084, allocations: 65.7 kB / 1.006 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007789/0.8092, allocations: 1.803 MB / 1.008 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.8097, allocations: 0.8868 MB / 1.009 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006158/0.8103, allocations: 489.4 kB / 1.009 GB, free: 44 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.8104, allocations: 301.1 kB / 1.01 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/0.813, allocations: 2.726 MB / 1.012 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.8159, allocations: 3.336 MB / 1.016 GB, free: 9.438 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.8216, allocations: 6.393 MB / 1.022 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.8216, allocations: 4 kB / 1.022 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01968/0.8413, allocations: 14.41 MB / 1.036 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.8413, allocations: 12 kB / 1.036 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.8413, allocations: 16 kB / 1.036 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01657/0.8579, allocations: 9.201 MB / 1.045 GB, free: 11.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.8586, allocations: 299.5 kB / 1.045 GB, free: 10.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04966/0.9083, allocations: 51.03 MB / 1.095 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.9101, allocations: 223.7 kB / 1.095 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.9103, allocations: 100 kB / 1.095 GB, free: 6.703 MB / 0.8698 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002209/0.9125, allocations: 1.582 MB / 1.097 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.9128, allocations: 262.8 kB / 1.097 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01922/0.932, allocations: 14.47 MB / 1.111 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.932, allocations: 24 kB / 1.111 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-05/0.9321, allocations: 51.94 kB / 1.111 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/0.9321, allocations: 11.95 kB / 1.111 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/0.9568, allocations: 19.52 MB / 1.13 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.9568, allocations: 7.938 kB / 1.131 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.9572, allocations: 163.7 kB / 1.131 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0165/0.9737, allocations: 8.965 MB / 1.139 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.9739, allocations: 52 kB / 1.139 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4249/1.399, allocations: 50.6 MB / 1.189 GB, free: 271.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.399, allocations: 10.59 kB / 1.189 GB, free: 271.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.416, allocations: 14.1 MB / 1.203 GB, free: 265.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.417, allocations: 0.7781 MB / 1.203 GB, free: 265.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/1.417, allocations: 51.48 kB / 1.203 GB, free: 265.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/1.418, allocations: 208.6 kB / 1.204 GB, free: 265.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008986/1.419, allocations: 259.2 kB / 1.204 GB, free: 265 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.419, allocations: 67.42 kB / 1.204 GB, free: 265 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008154/1.42, allocations: 1.124 MB / 1.205 GB, free: 264.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/1.42, allocations: 3.828 kB / 1.205 GB, free: 264.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002533/1.423, allocations: 1.616 MB / 1.207 GB, free: 264.3 MB / 0.9167 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01591/1.439, allocations: 14.7 MB / 1.221 GB, free: 251.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.449, allocations: 10.2 MB / 1.231 GB, free: 241.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.449, allocations: 4.125 kB / 1.231 GB, free: 241.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008389/1.458, allocations: 7.013 MB / 1.238 GB, free: 234.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/1.46, allocations: 0.5622 MB / 1.238 GB, free: 233.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05323/1.513, allocations: 50.51 MB / 1.288 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/1.515, allocations: 2.669 MB / 1.29 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000687/1.516, allocations: 391.3 kB / 1.291 GB, free: 179 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007763/1.516, allocations: 1.464 MB / 1.292 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.172e-06/1.516, allocations: 4 kB / 1.292 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.641, allocations: 129.3 MB / 1.418 GB, free: 48.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.792/10.43, allocations: 10.12 kB / 1.418 GB, free: 48.78 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.530966593883932] Failed to read output from testmodel.py, exit status != 0: 10.556536450050771 10.56337663 9.957222837 Calling exit ...