Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0008955/0.0008955, 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.001044/0.001044, allocations: 165.9 kB / 22.45 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.92/0.92, 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.7533/0.7533, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.64e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008707/0.008733, allocations: 9.455 MB / 0.6273 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005391/0.01412, allocations: 3.127 MB / 0.6304 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.01494, allocations: 47.62 kB / 0.6304 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.01615, allocations: 0.6023 MB / 0.631 GB, free: 456 kB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.01776, allocations: 0.8005 MB / 0.6318 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.01915, allocations: 0.7556 MB / 0.6325 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002586/0.02174, allocations: 3.038 MB / 0.6355 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.02333, allocations: 1.412 MB / 0.6369 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.02562, allocations: 1.742 MB / 0.6386 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.02745, allocations: 1.563 MB / 0.6401 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.0278, allocations: 236 kB / 0.6403 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007845/0.02858, allocations: 495.2 kB / 0.6408 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.02942, allocations: 1.15 MB / 0.6419 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009766/0.0304, allocations: 0.7758 MB / 0.6427 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.03359, allocations: 3.794 MB / 0.6464 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.0336, allocations: 4 kB / 0.6464 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0336, allocations: 0 / 0.6464 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.29e-05/0.03367, allocations: 0 / 0.6464 GB, free: 0.6055 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003306/0.03698, allocations: 2.102 MB / 0.6484 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.03704, allocations: 13.47 kB / 0.6484 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.03739, allocations: 261.2 kB / 0.6487 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.04214, allocations: 1.357 MB / 0.65 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.04534, allocations: 1.265 MB / 0.6512 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.04543, allocations: 119.3 kB / 0.6514 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/0.04585, allocations: 148.3 kB / 0.6515 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/0.05027, allocations: 3.508 MB / 0.6549 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.05031, allocations: 12.06 kB / 0.6549 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.05045, allocations: 68.09 kB / 0.655 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.05064, allocations: 207.1 kB / 0.6552 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.05418, allocations: 3.116 MB / 0.6582 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.06495, allocations: 10.06 MB / 0.6681 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.06656, allocations: 1.615 MB / 0.6696 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.06785, allocations: 1.327 MB / 0.6709 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.06792, allocations: 13 kB / 0.6709 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.06795, allocations: 43.56 kB / 0.671 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 2.955e-06/0.06795, allocations: 3.938 kB / 0.671 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=183): time 0.3717/0.4397, allocations: 36.18 MB / 0.7063 GB, free: 92.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.4397, allocations: 71.25 kB / 0.7064 GB, free: 92.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.441, allocations: 1.078 MB / 0.7074 GB, free: 91.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.4413, allocations: 56.17 kB / 0.7075 GB, free: 91.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.4417, allocations: 0.8128 MB / 0.7083 GB, free: 91.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.4421, allocations: 0.6354 MB / 0.7089 GB, free: 90.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/0.4425, allocations: 361.7 kB / 0.7093 GB, free: 90.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.4426, allocations: 302.3 kB / 0.7095 GB, free: 90.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.4447, allocations: 1.929 MB / 0.7114 GB, free: 89.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.4468, allocations: 2.29 MB / 0.7137 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/0.4512, allocations: 4.391 MB / 0.718 GB, free: 86.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.4512, allocations: 6.5 kB / 0.718 GB, free: 86.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01395/0.4652, allocations: 8.874 MB / 0.7266 GB, free: 83.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.4652, allocations: 10.5 kB / 0.7266 GB, free: 83.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.4653, allocations: 9.344 kB / 0.7266 GB, free: 83.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.4757, allocations: 4.97 MB / 0.7315 GB, free: 81.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.4763, allocations: 189.2 kB / 0.7317 GB, free: 81.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03246/0.5087, allocations: 38 MB / 0.7688 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.5102, allocations: 99.89 kB / 0.7689 GB, free: 45.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.5103, allocations: 68 kB / 0.769 GB, free: 45.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.5114, allocations: 0.8024 MB / 0.7697 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.5117, allocations: 147.1 kB / 0.7699 GB, free: 44.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.5257, allocations: 8.738 MB / 0.7784 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.5257, allocations: 20 kB / 0.7784 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.777e-05/0.5258, allocations: 31.94 kB / 0.7785 GB, free: 35.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/0.5258, allocations: 11.95 kB / 0.7785 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/0.5426, allocations: 12.65 MB / 0.7908 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.5426, allocations: 4 kB / 0.7908 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.5429, allocations: 119.8 kB / 0.7909 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/0.5564, allocations: 4.821 MB / 0.7956 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/0.5568, allocations: 39.94 kB / 0.7957 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04516/0.602, allocations: 35.91 MB / 0.8308 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.602, allocations: 7.938 kB / 0.8308 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.6139, allocations: 8.448 MB / 0.839 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.6151, allocations: 0.573 MB / 0.8396 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.6154, allocations: 39.94 kB / 0.8396 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.6161, allocations: 95.88 kB / 0.8397 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/0.6167, allocations: 173.5 kB / 0.8399 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.6168, allocations: 48 kB / 0.8399 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007445/0.6176, allocations: 0.7375 MB / 0.8406 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6176, allocations: 4 kB / 0.8406 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002585/0.6202, allocations: 1 MB / 0.8416 GB, free: 2.465 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.012/0.6322, allocations: 9.042 MB / 0.8504 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007411/0.6396, allocations: 5.743 MB / 0.8561 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.6396, allocations: 0 / 0.8561 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/0.6448, allocations: 3.763 MB / 0.8597 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.646, allocations: 239.2 kB / 0.86 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/0.6857, allocations: 30.89 MB / 0.8901 GB, free: 120 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.687, allocations: 1.263 MB / 0.8914 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006145/0.6876, allocations: 355.3 kB / 0.8917 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.6881, allocations: 0.6134 MB / 0.8923 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/0.6881, allocations: 0 / 0.8923 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09704/0.7851, allocations: 80.82 MB / 0.9712 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.164, allocations: 11.5 kB / 0.9712 GB, free: 13.15 MB / 0.8073 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.458760065026581] Failed to read output from testmodel.py, exit status != 0: 9.27058038301766 9.566784736 9.24523964 Calling exit ...