Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008888/0.0008888, 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.0008923/0.0008923, 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.8938/0.8938, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7268/0.7268, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.964e-05, allocations: 6.719 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01742/0.01744, allocations: 25.04 MB / 0.6425 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02784, allocations: 7.977 MB / 0.6503 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.03007, allocations: 154.8 kB / 0.6505 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.03427, allocations: 2.787 MB / 0.6532 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.03814, allocations: 1.713 MB / 0.6549 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.04135, allocations: 1.693 MB / 0.6565 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006036/0.04739, allocations: 6.262 MB / 0.6626 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004326/0.05171, allocations: 3.758 MB / 0.6663 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.05623, allocations: 3.726 MB / 0.6699 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.05957, allocations: 2.638 MB / 0.6725 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009657/0.06054, allocations: 0.5117 MB / 0.673 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.06248, allocations: 1.22 MB / 0.6742 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.06416, allocations: 2.198 MB / 0.6763 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.06651, allocations: 1.653 MB / 0.678 GB, free: 120 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2748/0.3413, allocations: 8.208 MB / 0.686 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3413, allocations: 0 / 0.686 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3413, allocations: 3.281 kB / 0.686 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001645/0.3415, allocations: 0 / 0.686 GB, free: 59.53 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006271/0.3478, allocations: 4.216 MB / 0.6901 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3478, allocations: 10.34 kB / 0.6901 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005625/0.3484, allocations: 0.5377 MB / 0.6906 GB, free: 57.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.3507, allocations: 0.8333 MB / 0.6914 GB, free: 57.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.3545, allocations: 2.532 MB / 0.6939 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.3546, allocations: 274.5 kB / 0.6942 GB, free: 57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005857/0.3552, allocations: 371.8 kB / 0.6945 GB, free: 57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008587/0.3637, allocations: 6.448 MB / 0.7008 GB, free: 55.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.781e-05/0.3638, allocations: 23.36 kB / 0.7009 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.3641, allocations: 158.5 kB / 0.701 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004139/0.3646, allocations: 284 kB / 0.7013 GB, free: 55.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006933/0.3715, allocations: 4.513 MB / 0.7057 GB, free: 54.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/0.3908, allocations: 17.97 MB / 0.7232 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.392, allocations: 1.049 MB / 0.7243 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.393, allocations: 0.9561 MB / 0.7252 GB, free: 42.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.393, allocations: 12.61 kB / 0.7252 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3931, allocations: 48.56 kB / 0.7253 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.085e-06/0.3931, allocations: 3.609 kB / 0.7253 GB, free: 42.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.01474/0.4078, allocations: 9.1 MB / 0.7341 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4078, allocations: 66.55 kB / 0.7342 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.4097, allocations: 1.538 MB / 0.7357 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.4099, allocations: 47.83 kB / 0.7358 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/0.4106, allocations: 1.715 MB / 0.7374 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.4109, allocations: 482.9 kB / 0.7379 GB, free: 36.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.4112, allocations: 326.9 kB / 0.7382 GB, free: 36.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.599e-05/0.4113, allocations: 301.7 kB / 0.7385 GB, free: 35.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.4123, allocations: 0.9163 MB / 0.7394 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.4135, allocations: 1.459 MB / 0.7408 GB, free: 34.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.4157, allocations: 2.552 MB / 0.7433 GB, free: 33.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.4157, allocations: 5.094 kB / 0.7433 GB, free: 33.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003996/0.4197, allocations: 3.273 MB / 0.7465 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.4198, allocations: 15.86 kB / 0.7465 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.4198, allocations: 18.53 kB / 0.7465 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.4211, allocations: 0.7425 MB / 0.7473 GB, free: 31.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009404/0.422, allocations: 386.9 kB / 0.7476 GB, free: 31.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/0.4302, allocations: 16 MB / 0.7633 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.4316, allocations: 109.3 kB / 0.7634 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.4317, allocations: 76 kB / 0.7634 GB, free: 18.12 MB / 0.6355 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001911/0.4336, allocations: 1.317 MB / 0.7647 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.434, allocations: 210.6 kB / 0.7649 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.4368, allocations: 2.76 MB / 0.7676 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.4368, allocations: 12.62 kB / 0.7676 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.4369, allocations: 7.281 kB / 0.7676 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4369, allocations: 7.406 kB / 0.7676 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.4441, allocations: 5.89 MB / 0.7734 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4441, allocations: 7.875 kB / 0.7734 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.4447, allocations: 229.1 kB / 0.7736 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.4458, allocations: 0.6719 MB / 0.7743 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.4459, allocations: 29.55 kB / 0.7743 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00728/0.4531, allocations: 15.75 MB / 0.7897 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4531, allocations: 5.688 kB / 0.7897 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.4575, allocations: 3.989 MB / 0.7936 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009503/0.4585, allocations: 383.7 kB / 0.794 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4586, allocations: 34.3 kB / 0.794 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.4592, allocations: 82.98 kB / 0.7941 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/0.4596, allocations: 123.9 kB / 0.7942 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.4597, allocations: 38.38 kB / 0.7942 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001076/0.4608, allocations: 0.996 MB / 0.7952 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4608, allocations: 2.156 kB / 0.7952 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001959/0.4627, allocations: 0.6861 MB / 0.7959 GB, free: 12.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004192/0.4669, allocations: 4.578 MB / 0.8003 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003945/0.4709, allocations: 3.381 MB / 0.8036 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4709, allocations: 0 / 0.8036 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.4728, allocations: 2.243 MB / 0.8058 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.4749, allocations: 0.6819 MB / 0.8065 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/0.504, allocations: 21.19 MB / 0.8272 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.506, allocations: 2.113 MB / 0.8293 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001124/0.5072, allocations: 493.4 kB / 0.8297 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.5082, allocations: 1.277 MB / 0.831 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of SimCode: time 7.82e-07/0.5082, allocations: 0 / 0.831 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09056/0.5988, allocations: 61.4 MB / 0.8909 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.731/9.33, allocations: 3.859 kB / 0.8909 GB, free: 11.7 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.135897237807512] Failed to read output from testmodel.py, exit status != 0: 9.441738937050104 9.451605172 9.108157178 Calling exit ...