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.0007564/0.0007564, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007782/0.0007782, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9154/0.9154, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.729/0.729, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.043e-05, allocations: 5.375 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004437/0.004458, allocations: 4.592 MB / 0.6225 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.007352, allocations: 2.413 MB / 0.6249 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.007716, allocations: 39.56 kB / 0.6249 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.008586, allocations: 409.1 kB / 0.6253 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.009467, allocations: 493.1 kB / 0.6258 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.01035, allocations: 399 kB / 0.6262 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008564/0.01121, allocations: 0.9524 MB / 0.6271 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.01168, allocations: 322.4 kB / 0.6274 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.0123, allocations: 498.6 kB / 0.6279 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.0127, allocations: 307.1 kB / 0.6282 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.01276, allocations: 39.94 kB / 0.6282 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.01329, allocations: 363 kB / 0.6286 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01344, allocations: 191.3 kB / 0.6287 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.01361, allocations: 223.4 kB / 0.6289 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.01449, allocations: 0.8955 MB / 0.6298 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.0145, allocations: 0 / 0.6298 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.014e-06/0.0145, allocations: 0 / 0.6298 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.01452, allocations: 0 / 0.6298 GB, free: 1.602 MB / 0.5886 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.001228/0.01574, allocations: 0.8857 MB / 0.6307 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.01579, allocations: 17.45 kB / 0.6307 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/0.01586, allocations: 94.62 kB / 0.6308 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.0166, allocations: 216.2 kB / 0.631 GB, free: 360 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.01723, allocations: 486.5 kB / 0.6315 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.01726, allocations: 33.38 kB / 0.6315 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.01732, allocations: 48.36 kB / 0.6315 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.01813, allocations: 0.9703 MB / 0.6325 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.01815, allocations: 16.02 kB / 0.6325 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.01819, allocations: 25.67 kB / 0.6325 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/0.01825, allocations: 64.95 kB / 0.6326 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.01905, allocations: 0.5616 MB / 0.6331 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.02172, allocations: 4.712 MB / 0.6377 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.02217, allocations: 418.3 kB / 0.6381 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.02236, allocations: 200.7 kB / 0.6383 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.02239, allocations: 7.938 kB / 0.6383 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.02241, allocations: 42.56 kB / 0.6384 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.02241, allocations: 0 / 0.6384 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001511/0.02392, allocations: 1.13 MB / 0.6395 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.02395, allocations: 55.69 kB / 0.6395 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.02464, allocations: 0.5184 MB / 0.64 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.02466, allocations: 29.7 kB / 0.6401 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.02483, allocations: 367.8 kB / 0.6404 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.02489, allocations: 127 kB / 0.6405 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.02499, allocations: 114.2 kB / 0.6407 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.02509, allocations: 370.7 kB / 0.641 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.02527, allocations: 193.2 kB / 0.6412 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.02556, allocations: 443.3 kB / 0.6416 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.02611, allocations: 0.6926 MB / 0.6423 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02611, allocations: 8 kB / 0.6423 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008146/0.02693, allocations: 0.8092 MB / 0.6431 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.02695, allocations: 8 kB / 0.6431 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.02696, allocations: 8 kB / 0.6431 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.02727, allocations: 152.9 kB / 0.6432 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.02754, allocations: 127.7 kB / 0.6434 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.02993, allocations: 4.029 MB / 0.6473 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.03015, allocations: 31.97 kB / 0.6473 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.03017, allocations: 28 kB / 0.6474 GB, free: 14.52 MB / 0.6198 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.0001932/0.03037, allocations: 219.6 kB / 0.6476 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.03042, allocations: 63.62 kB / 0.6476 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006472/0.03106, allocations: 0.6008 MB / 0.6482 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.03107, allocations: 3.938 kB / 0.6482 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.03107, allocations: 4 kB / 0.6482 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03108, allocations: 3.984 kB / 0.6482 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.0322, allocations: 1.175 MB / 0.6494 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.0322, allocations: 11.98 kB / 0.6494 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.03233, allocations: 59.89 kB / 0.6494 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.03255, allocations: 136.1 kB / 0.6496 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.03257, allocations: 8.219 kB / 0.6496 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.03461, allocations: 4.014 MB / 0.6535 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.03462, allocations: 7.969 kB / 0.6535 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.03525, allocations: 0.7013 MB / 0.6542 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.03537, allocations: 95.58 kB / 0.6543 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.0354, allocations: 8 kB / 0.6543 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.03554, allocations: 27.91 kB / 0.6543 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.03559, allocations: 40.03 kB / 0.6544 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.03561, allocations: 12 kB / 0.6544 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002323/0.03584, allocations: 338.8 kB / 0.6547 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.03584, allocations: 0 / 0.6547 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004375/0.03628, allocations: 140 kB / 0.6548 GB, free: 6.34 MB / 0.6198 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.0008107/0.03709, allocations: 1.264 MB / 0.6561 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008238/0.03791, allocations: 0.8546 MB / 0.6569 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.03791, allocations: 0 / 0.6569 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.03831, allocations: 0.5723 MB / 0.6575 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.0389, allocations: 207.5 kB / 0.6577 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.04322, allocations: 5.142 MB / 0.6627 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.04342, allocations: 316 kB / 0.663 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002402/0.04366, allocations: 117.3 kB / 0.6631 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.04383, allocations: 196.4 kB / 0.6633 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of SimCode: time 9.41e-07/0.04383, allocations: 0 / 0.6633 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/0.3339, allocations: 14.38 MB / 0.6773 GB, free: 95.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.662, allocations: 3.672 kB / 0.6773 GB, free: 95.62 MB / 0.6355 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.498281354084611] Failed to read output from testmodel.py, exit status != 0: 7.751348379999399 7.75898902 7.742901095 Calling exit ...