Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001152/0.001152, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001063/0.001063, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9706/0.9706, allocations: 230.6 MB / 256 MB, free: 9.637 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.7639/0.7639, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001449/0.001449, allocations: 71.83 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.447, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004019/0.451, allocations: 5.053 MB / 0.8228 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.4533, allocations: 2.609 MB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.4535, allocations: 36.5 kB / 0.8254 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.4542, allocations: 411 kB / 0.8258 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.4548, allocations: 469.6 kB / 0.8262 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.4552, allocations: 406.2 kB / 0.8266 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006961/0.4559, allocations: 0.9269 MB / 0.8275 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.4564, allocations: 316.8 kB / 0.8278 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.4567, allocations: 361.4 kB / 0.8282 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.4571, allocations: 371 kB / 0.8285 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.4572, allocations: 38.09 kB / 0.8285 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.4576, allocations: 408.7 kB / 0.8289 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.4578, allocations: 189.2 kB / 0.8291 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.458, allocations: 325.6 kB / 0.8294 GB, free: 10 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.4589, allocations: 0.8908 MB / 0.8303 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4589, allocations: 0 / 0.8303 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4589, allocations: 0.7969 kB / 0.8303 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.4589, allocations: 1.219 kB / 0.8303 GB, free: 9.684 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001021/0.4599, allocations: 0.8909 MB / 0.8312 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4599, allocations: 9.625 kB / 0.8312 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.4601, allocations: 93.47 kB / 0.8313 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000773/0.4609, allocations: 214.7 kB / 0.8315 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.4615, allocations: 496.7 kB / 0.8319 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4616, allocations: 40.11 kB / 0.832 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.4616, allocations: 49.06 kB / 0.832 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.4624, allocations: 0.8517 MB / 0.8329 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4624, allocations: 8.969 kB / 0.8329 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.4625, allocations: 19.94 kB / 0.8329 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.507e-05/0.4625, allocations: 69.75 kB / 0.833 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.4632, allocations: 0.5677 MB / 0.8335 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.4665, allocations: 5.576 MB / 0.839 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.4671, allocations: 426.7 kB / 0.8394 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.4674, allocations: 201.5 kB / 0.8396 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.4674, allocations: 7.406 kB / 0.8396 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4675, allocations: 36.81 kB / 0.8396 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.023e-06/0.4675, allocations: 1.281 kB / 0.8396 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001814/0.4693, allocations: 1.152 MB / 0.8407 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4693, allocations: 55.39 kB / 0.8408 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.4697, allocations: 0.4924 MB / 0.8413 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4698, allocations: 34.73 kB / 0.8413 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.4699, allocations: 363.8 kB / 0.8416 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.47, allocations: 130.4 kB / 0.8418 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.4701, allocations: 111.4 kB / 0.8419 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4702, allocations: 365.5 kB / 0.8422 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.4705, allocations: 197.1 kB / 0.8424 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.4708, allocations: 446.1 kB / 0.8428 GB, free: 352 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.4714, allocations: 0.6947 MB / 0.8435 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4714, allocations: 2.281 kB / 0.8435 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008412/0.4722, allocations: 0.8109 MB / 0.8443 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4722, allocations: 9.625 kB / 0.8443 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4722, allocations: 12.23 kB / 0.8443 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.4725, allocations: 153.7 kB / 0.8445 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.4728, allocations: 126.5 kB / 0.8446 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.4749, allocations: 4.045 MB / 0.8485 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4751, allocations: 33.03 kB / 0.8486 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4751, allocations: 31.62 kB / 0.8486 GB, free: 11.24 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.4753, allocations: 218.3 kB / 0.8488 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.4753, allocations: 62.12 kB / 0.8489 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006136/0.4759, allocations: 0.5934 MB / 0.8495 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4759, allocations: 3.719 kB / 0.8495 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4759, allocations: 1.219 kB / 0.8495 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4759, allocations: 9.453 kB / 0.8495 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4771, allocations: 1.234 MB / 0.8507 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4771, allocations: 5 kB / 0.8507 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4772, allocations: 55.77 kB / 0.8507 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.4774, allocations: 148.6 kB / 0.8509 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.4774, allocations: 10.41 kB / 0.8509 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.4792, allocations: 4.021 MB / 0.8548 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4792, allocations: 6.906 kB / 0.8548 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.4798, allocations: 0.7098 MB / 0.8555 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.4799, allocations: 95.5 kB / 0.8556 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.48, allocations: 9.25 kB / 0.8556 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.4801, allocations: 25.33 kB / 0.8556 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4801, allocations: 38.91 kB / 0.8557 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4802, allocations: 11.81 kB / 0.8557 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002311/0.4804, allocations: 339 kB / 0.856 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4804, allocations: 4 kB / 0.856 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003856/0.4808, allocations: 139.8 kB / 0.8561 GB, free: 4.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007594/0.4815, allocations: 1.259 MB / 0.8574 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000816/0.4824, allocations: 0.8633 MB / 0.8582 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4824, allocations: 0 / 0.8582 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.4827, allocations: 0.5801 MB / 0.8588 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.4833, allocations: 203.2 kB / 0.859 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.4875, allocations: 5.164 MB / 0.864 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.4879, allocations: 0.9024 MB / 0.8649 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.4881, allocations: 122.8 kB / 0.865 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.4883, allocations: 195 kB / 0.8652 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of SimCode: time 6.01e-07/0.4883, allocations: 0 / 0.8652 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.5162, allocations: 13.36 MB / 0.8782 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.834, allocations: 0 / 0.8782 GB, free: 6.105 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_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_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.81703207991086] Failed to read output from testmodel.py, exit status != 0: 7.919288033852354 7.931233165 7.470515789 Calling exit ...