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.000883/0.000883, 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.0008849/0.0008849, 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.9607/0.9607, allocations: 230.6 MB / 256 MB, free: 9.586 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.7728/0.7728, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0008863/0.0008863, allocations: 70.06 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4948, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004334/0.4992, allocations: 4.669 MB / 0.8223 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.5017, allocations: 2.442 MB / 0.8247 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.5019, allocations: 35.25 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.5027, allocations: 396.4 kB / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.5033, allocations: 469.8 kB / 0.8256 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.5038, allocations: 403.5 kB / 0.826 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.5045, allocations: 0.9244 MB / 0.8269 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.5049, allocations: 315.2 kB / 0.8272 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.5053, allocations: 359.5 kB / 0.8275 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.5058, allocations: 351.7 kB / 0.8279 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.5058, allocations: 42.56 kB / 0.8279 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.5063, allocations: 359.2 kB / 0.8282 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.5065, allocations: 187.5 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.5067, allocations: 266.2 kB / 0.8287 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.5076, allocations: 0.8953 MB / 0.8295 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5076, allocations: 0 / 0.8295 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5076, allocations: 5.281 kB / 0.8296 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5076, allocations: 0 / 0.8296 GB, free: 10.17 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.001217/0.5088, allocations: 0.8922 MB / 0.8304 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.5089, allocations: 9.219 kB / 0.8304 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.509, allocations: 97.97 kB / 0.8305 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/0.5099, allocations: 206.1 kB / 0.8307 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.5106, allocations: 494.1 kB / 0.8312 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.5106, allocations: 35.61 kB / 0.8312 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.5107, allocations: 49.88 kB / 0.8313 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.5118, allocations: 0.9819 MB / 0.8322 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.5119, allocations: 11.25 kB / 0.8322 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.5119, allocations: 28.5 kB / 0.8323 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.411e-05/0.512, allocations: 62.44 kB / 0.8323 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.5126, allocations: 0.5651 MB / 0.8329 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.5154, allocations: 4.728 MB / 0.8375 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.5159, allocations: 413.5 kB / 0.8379 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.5161, allocations: 201.6 kB / 0.8381 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.5161, allocations: 3.625 kB / 0.8381 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5161, allocations: 41.72 kB / 0.8381 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.552e-06/0.5161, allocations: 0 / 0.8381 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001676/0.5178, allocations: 1.142 MB / 0.8392 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5179, allocations: 59.52 kB / 0.8393 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.5183, allocations: 0.5072 MB / 0.8398 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.5184, allocations: 38.89 kB / 0.8398 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.5186, allocations: 367.2 kB / 0.8402 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.5187, allocations: 126.2 kB / 0.8403 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5188, allocations: 112.5 kB / 0.8404 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5189, allocations: 365.1 kB / 0.8408 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.5192, allocations: 196.2 kB / 0.8409 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.5195, allocations: 450.5 kB / 0.8414 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.5202, allocations: 0.6925 MB / 0.8421 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5202, allocations: 2.75 kB / 0.8421 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009392/0.5212, allocations: 0.8127 MB / 0.8428 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5212, allocations: 12.36 kB / 0.8429 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5212, allocations: 8.438 kB / 0.8429 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.5216, allocations: 154.5 kB / 0.843 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.5218, allocations: 127.1 kB / 0.8431 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.5239, allocations: 4.025 MB / 0.8471 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.5241, allocations: 36.98 kB / 0.8471 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.5241, allocations: 26.94 kB / 0.8471 GB, free: 12.61 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.0001866/0.5243, allocations: 223.5 kB / 0.8473 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.5244, allocations: 66.3 kB / 0.8474 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.525, allocations: 0.5912 MB / 0.848 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.525, allocations: 2.906 kB / 0.848 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.525, allocations: 1.906 kB / 0.848 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.525, allocations: 3.984 kB / 0.848 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.5263, allocations: 1.19 MB / 0.8492 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5263, allocations: 5.438 kB / 0.8492 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.5265, allocations: 54.33 kB / 0.8492 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.5267, allocations: 145 kB / 0.8493 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.5267, allocations: 7.312 kB / 0.8494 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.5288, allocations: 4.012 MB / 0.8533 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5288, allocations: 2.969 kB / 0.8533 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.5294, allocations: 0.7138 MB / 0.854 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5295, allocations: 92.52 kB / 0.8541 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.5296, allocations: 16.84 kB / 0.8541 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.5297, allocations: 23.44 kB / 0.8541 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.5297, allocations: 34.52 kB / 0.8541 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5297, allocations: 8.25 kB / 0.8541 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002203/0.53, allocations: 338.8 kB / 0.8545 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.53, allocations: 8.031 kB / 0.8545 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004235/0.5304, allocations: 141.7 kB / 0.8546 GB, free: 6.215 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.0008337/0.5312, allocations: 1.255 MB / 0.8558 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008448/0.5321, allocations: 0.8629 MB / 0.8567 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5321, allocations: 5.562 kB / 0.8567 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.5325, allocations: 0.5668 MB / 0.8572 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.5331, allocations: 219.5 kB / 0.8574 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.5379, allocations: 5.159 MB / 0.8625 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5381, allocations: 309.4 kB / 0.8628 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.5383, allocations: 118.7 kB / 0.8629 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.5385, allocations: 200.1 kB / 0.8631 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/0.5385, allocations: 0 / 0.8631 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.5726, allocations: 14.29 MB / 0.877 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.856, allocations: 0 / 0.877 GB, free: 7.176 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.779078697320074] Failed to read output from testmodel.py, exit status != 0: 7.941216628998518 7.951755937 7.442391536 Calling exit ...