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.0008689/0.0008689, allocations: 105.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.0009888/0.0009888, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9661/0.9661, 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.807/0.807, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001487/0.001487, allocations: 66.86 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5207, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03135/0.5521, allocations: 39.1 MB / 0.856 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.573, allocations: 15.34 MB / 0.871 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/0.578, allocations: 249 kB / 0.8712 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.008537/0.5866, allocations: 4.491 MB / 0.8756 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009422/0.596, allocations: 2.93 MB / 0.8785 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006613/0.6026, allocations: 3.193 MB / 0.8816 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01264/0.6152, allocations: 11.42 MB / 0.8927 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00896/0.6242, allocations: 6.704 MB / 0.8993 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008338/0.6325, allocations: 5.005 MB / 0.9042 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008642/0.6412, allocations: 5.416 MB / 0.9095 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003299/0.6445, allocations: 0.9492 MB / 0.9104 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006353/0.6508, allocations: 1.904 MB / 0.9122 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006298/0.6571, allocations: 3.784 MB / 0.9159 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.009028/0.6662, allocations: 3.51 MB / 0.9194 GB, free: 13.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.6833, allocations: 14.39 MB / 0.9334 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.6833, allocations: 0 / 0.9334 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.886e-06/0.6833, allocations: 0 / 0.9334 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005946/0.6839, allocations: 0 / 0.9334 GB, free: 14.92 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.01908/0.7029, allocations: 7.707 MB / 0.9409 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.703, allocations: 12.03 kB / 0.941 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/0.7057, allocations: 0.9033 MB / 0.9418 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007142/0.7129, allocations: 1.554 MB / 0.9434 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/0.7211, allocations: 4.378 MB / 0.9476 GB, free: 196 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.7214, allocations: 452.5 kB / 0.9481 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.7237, allocations: 0.6056 MB / 0.9487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/0.7484, allocations: 11.58 MB / 0.96 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/0.7486, allocations: 35.75 kB / 0.96 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/0.7501, allocations: 267.9 kB / 0.9603 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/0.7517, allocations: 0.769 MB / 0.961 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.7677, allocations: 8.541 MB / 0.9693 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0466/0.8143, allocations: 31.46 MB / 1 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/0.8192, allocations: 3.966 MB / 1.004 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/0.8232, allocations: 3.365 MB / 1.007 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.8234, allocations: 34.78 kB / 1.007 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.8235, allocations: 81.28 kB / 1.007 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=353): time 5.64e-06/0.8235, allocations: 4 kB / 1.007 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of matching and sorting (n=578): time 0.2648/1.088, allocations: 121.1 MB / 1.126 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/1.088, allocations: 111.9 kB / 1.126 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/1.092, allocations: 2.72 MB / 1.128 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/1.093, allocations: 125.7 kB / 1.128 GB, free: 5.156 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/1.095, allocations: 2.749 MB / 1.131 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002179/1.097, allocations: 2.053 MB / 1.133 GB, free: 324 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/1.098, allocations: 0.9251 MB / 1.134 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/1.098, allocations: 301.1 kB / 1.134 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004619/1.103, allocations: 4.079 MB / 1.138 GB, free: 11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005424/1.108, allocations: 5.015 MB / 1.143 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4012/1.509, allocations: 9.85 MB / 1.153 GB, free: 281.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/1.509, allocations: 4.344 kB / 1.153 GB, free: 281.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02925/1.539, allocations: 16.74 MB / 1.169 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.539, allocations: 17.47 kB / 1.169 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/1.539, allocations: 26.5 kB / 1.169 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01894/1.558, allocations: 9.063 MB / 1.178 GB, free: 272.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.559, allocations: 0.5247 MB / 1.179 GB, free: 272.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06044/1.62, allocations: 74.65 MB / 1.252 GB, free: 214.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/1.624, allocations: 283.8 kB / 1.252 GB, free: 214.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008149/1.625, allocations: 188 kB / 1.252 GB, free: 214.1 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.003692/1.628, allocations: 2.423 MB / 1.254 GB, free: 211.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009037/1.629, allocations: 493 kB / 1.255 GB, free: 211.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01964/1.649, allocations: 16.55 MB / 1.271 GB, free: 194.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/1.649, allocations: 56 kB / 1.271 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001601/1.649, allocations: 72 kB / 1.271 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.762e-05/1.649, allocations: 31.89 kB / 1.271 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.682, allocations: 24.01 MB / 1.295 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/1.682, allocations: 4 kB / 1.295 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.683, allocations: 319.5 kB / 1.295 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/1.698, allocations: 8.255 MB / 1.303 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009842/1.699, allocations: 108 kB / 1.303 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05672/1.756, allocations: 71.52 MB / 1.373 GB, free: 88.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.756, allocations: 11.94 kB / 1.373 GB, free: 88.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02621/1.782, allocations: 21.31 MB / 1.394 GB, free: 66.94 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003327/1.786, allocations: 1.309 MB / 1.395 GB, free: 65.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009095/1.787, allocations: 115.9 kB / 1.395 GB, free: 65.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/1.789, allocations: 279.7 kB / 1.395 GB, free: 65.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/1.79, allocations: 0.5562 MB / 1.396 GB, free: 64.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.791, allocations: 148 kB / 1.396 GB, free: 64.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001666/1.792, allocations: 1.768 MB / 1.398 GB, free: 62.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.792, allocations: 0 / 1.398 GB, free: 62.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005765/1.798, allocations: 2.465 MB / 1.4 GB, free: 60.31 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.02545/1.823, allocations: 22.03 MB / 1.422 GB, free: 37.92 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01577/1.839, allocations: 13.72 MB / 1.435 GB, free: 24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.839, allocations: 4 kB / 1.435 GB, free: 24 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01043/1.85, allocations: 9.025 MB / 1.444 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/1.855, allocations: 1.383 MB / 1.445 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09366/1.948, allocations: 69.9 MB / 1.514 GB, free: 5.973 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005605/1.954, allocations: 4.391 MB / 1.518 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002053/1.956, allocations: 0.7489 MB / 1.519 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3475/2.304, allocations: 2.611 MB / 1.521 GB, free: 313.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.833e-06/2.304, allocations: 1.844 kB / 1.521 GB, free: 313.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/2.518, allocations: 208.9 MB / 1.725 GB, free: 156.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/13.88, allocations: 0 / 1.725 GB, free: 156.3 MB / 0.9792 GB " [Timeout remaining time 646] (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: 17.07887982018292] Failed to read output from testmodel.py, exit status != 0: 14.034353813156486 14.04163098 13.356506045 Calling exit ...