Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.0008495/0.0008495, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001094/0.001094, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9792/0.9792, allocations: 230.6 MB / 256 MB, free: 9.82 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.8081/0.8081, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.001401/0.001401, allocations: 65.86 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5523, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0355/0.5878, allocations: 43.03 MB / 0.8599 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.6101, allocations: 15.78 MB / 0.8753 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/0.6149, allocations: 251.1 kB / 0.8755 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007338/0.6223, allocations: 4.681 MB / 0.8801 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.6325, allocations: 2.924 MB / 0.883 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008579/0.6411, allocations: 3.249 MB / 0.8861 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01475/0.6559, allocations: 11.42 MB / 0.8973 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.6661, allocations: 6.778 MB / 0.9039 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008389/0.6745, allocations: 4.97 MB / 0.9088 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008399/0.6829, allocations: 5.756 MB / 0.9144 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002826/0.6857, allocations: 0.9492 MB / 0.9153 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.6911, allocations: 2.068 MB / 0.9173 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005219/0.6963, allocations: 3.784 MB / 0.921 GB, free: 12.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.009199/0.7055, allocations: 4.303 MB / 0.9252 GB, free: 7.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.7237, allocations: 14.32 MB / 0.9392 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.7237, allocations: 4 kB / 0.9392 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7237, allocations: 3.938 kB / 0.9392 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004903/0.7242, allocations: 0 / 0.9392 GB, free: 9.332 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01765/0.7418, allocations: 7.715 MB / 0.9468 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.7419, allocations: 8.031 kB / 0.9468 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002656/0.7445, allocations: 0.8955 MB / 0.9476 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006921/0.7514, allocations: 1.554 MB / 0.9492 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.7617, allocations: 4.382 MB / 0.9534 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.7621, allocations: 456.5 kB / 0.9539 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002532/0.7646, allocations: 0.5979 MB / 0.9545 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.7855, allocations: 10.68 MB / 0.9649 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002373/0.7858, allocations: 31.81 kB / 0.9649 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001427/0.7872, allocations: 263.9 kB / 0.9652 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.7888, allocations: 0.7729 MB / 0.9659 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.8042, allocations: 8.557 MB / 0.9743 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0578/0.862, allocations: 46.26 MB / 1.019 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/0.8669, allocations: 3.983 MB / 1.023 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/0.8711, allocations: 3.365 MB / 1.027 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.8714, allocations: 42.78 kB / 1.027 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.244e-05/0.8715, allocations: 73.34 kB / 1.027 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=353): time 6.202e-06/0.8715, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=578): time 0.267/1.139, allocations: 121.1 MB / 1.145 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/1.139, allocations: 111.9 kB / 1.145 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3993/1.538, allocations: 2.676 MB / 1.148 GB, free: 287.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/1.539, allocations: 119.9 kB / 1.148 GB, free: 287.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.54, allocations: 2.753 MB / 1.151 GB, free: 286.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.543, allocations: 2.051 MB / 1.153 GB, free: 285.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/1.545, allocations: 0.926 MB / 1.153 GB, free: 284.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/1.545, allocations: 303.8 kB / 1.154 GB, free: 284.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007959/1.553, allocations: 4.078 MB / 1.158 GB, free: 282.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007973/1.561, allocations: 5.016 MB / 1.163 GB, free: 280.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/1.575, allocations: 9.855 MB / 1.172 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-05/1.575, allocations: 5.656 kB / 1.172 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0273/1.602, allocations: 16.75 MB / 1.189 GB, free: 268.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.602, allocations: 15.62 kB / 1.189 GB, free: 268.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/1.602, allocations: 21.09 kB / 1.189 GB, free: 268.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/1.619, allocations: 9.091 MB / 1.198 GB, free: 266.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/1.621, allocations: 0.5167 MB / 1.198 GB, free: 266.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05577/1.676, allocations: 75.91 MB / 1.272 GB, free: 193.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/1.68, allocations: 283.8 kB / 1.272 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008156/1.681, allocations: 188 kB / 1.273 GB, free: 193.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003716/1.685, allocations: 2.424 MB / 1.275 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.686, allocations: 496.9 kB / 1.275 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.706, allocations: 16.54 MB / 1.292 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/1.706, allocations: 56 kB / 1.292 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001631/1.706, allocations: 75.94 kB / 1.292 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.815e-05/1.706, allocations: 27.89 kB / 1.292 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03085/1.737, allocations: 25.36 MB / 1.317 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-05/1.737, allocations: 8 kB / 1.317 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.738, allocations: 320.3 kB / 1.317 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/1.752, allocations: 8.274 MB / 1.325 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009374/1.753, allocations: 108 kB / 1.325 GB, free: 139.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.055/1.808, allocations: 72.77 MB / 1.396 GB, free: 65.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.808, allocations: 15.88 kB / 1.396 GB, free: 65.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02548/1.833, allocations: 21.32 MB / 1.417 GB, free: 43.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/1.836, allocations: 1.311 MB / 1.418 GB, free: 42.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.837, allocations: 108 kB / 1.418 GB, free: 42.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.84, allocations: 287.6 kB / 1.419 GB, free: 41.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/1.841, allocations: 0.5491 MB / 1.419 GB, free: 41.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/1.842, allocations: 148 kB / 1.419 GB, free: 41.06 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001819/1.843, allocations: 1.776 MB / 1.421 GB, free: 39.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.3e-07/1.843, allocations: 0 / 1.421 GB, free: 39.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007571/1.851, allocations: 2.465 MB / 1.423 GB, free: 36.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02615/1.877, allocations: 22.02 MB / 1.445 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0171/1.894, allocations: 13.73 MB / 1.458 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.894, allocations: 0 / 1.458 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/1.908, allocations: 9.03 MB / 1.467 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/1.913, allocations: 1.38 MB / 1.468 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4871/2.4, allocations: 69.99 MB / 1.537 GB, free: 311.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00567/2.406, allocations: 4.904 MB / 1.542 GB, free: 310.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002087/2.408, allocations: 0.7446 MB / 1.542 GB, free: 310.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/2.41, allocations: 2.607 MB / 1.545 GB, free: 310.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.623e-06/2.41, allocations: 0 / 1.545 GB, free: 310.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/2.622, allocations: 204 MB / 1.744 GB, free: 144.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/17.53, allocations: 5.719 kB / 1.744 GB, free: 144.1 MB / 0.9792 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_ACLine_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.73816830292344] Failed to read output from testmodel.py, exit status != 0: 17.687312179012224 17.693007214 16.967505892 Calling exit ...