Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0008087/0.0008087, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008721/0.0008721, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9691/0.9691, allocations: 230.6 MB / 256 MB, free: 9.621 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.7885/0.7885, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.0009977/0.0009977, allocations: 63.66 kB / 0.7182 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5142, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03044/0.5447, allocations: 36.42 MB / 0.8534 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.5607, allocations: 11.12 MB / 0.8642 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004403/0.5651, allocations: 199.1 kB / 0.8644 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.008657/0.5738, allocations: 4.375 MB / 0.8687 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.5801, allocations: 2.34 MB / 0.871 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.585, allocations: 2.173 MB / 0.8731 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.5957, allocations: 9.277 MB / 0.8822 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00914/0.6049, allocations: 6.332 MB / 0.8883 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007052/0.6119, allocations: 4.121 MB / 0.8924 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00683/0.6188, allocations: 4.474 MB / 0.8967 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.6208, allocations: 0.8203 MB / 0.8975 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.6243, allocations: 1.502 MB / 0.899 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003142/0.6275, allocations: 3.231 MB / 0.9022 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005587/0.6331, allocations: 2.973 MB / 0.9051 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.6466, allocations: 12.41 MB / 0.9172 GB, free: 15.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6466, allocations: 0 / 0.9172 GB, free: 15.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6466, allocations: 0 / 0.9172 GB, free: 15.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003983/0.647, allocations: 0 / 0.9172 GB, free: 15.61 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01403/0.661, allocations: 6.395 MB / 0.9234 GB, free: 9.156 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.6611, allocations: 8.031 kB / 0.9234 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002073/0.6632, allocations: 0.8294 MB / 0.9242 GB, free: 8.309 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.6677, allocations: 1.094 MB / 0.9253 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006296/0.674, allocations: 3.576 MB / 0.9288 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.6742, allocations: 423.8 kB / 0.9292 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.6756, allocations: 0.551 MB / 0.9297 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.6961, allocations: 10.28 MB / 0.9398 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.6963, allocations: 23.77 kB / 0.9398 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/0.6973, allocations: 248 kB / 0.9401 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003976/0.6977, allocations: 422.9 kB / 0.9405 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.7089, allocations: 7.116 MB / 0.9474 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.7384, allocations: 26.26 MB / 0.973 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.7416, allocations: 2.898 MB / 0.9759 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/0.7444, allocations: 1.941 MB / 0.9778 GB, free: 220 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.7445, allocations: 22 kB / 0.9778 GB, free: 196 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.236e-05/0.7446, allocations: 72.41 kB / 0.9779 GB, free: 116 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=209): time 6.552e-06/0.7446, allocations: 0 / 0.9779 GB, free: 116 kB / 0.7448 GB Notification: Performance of matching and sorting (n=212): time 0.02087/0.7655, allocations: 10.26 MB / 0.9879 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.7655, allocations: 81.39 kB / 0.988 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.7677, allocations: 2.052 MB / 0.99 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.7679, allocations: 61.7 kB / 0.99 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.769, allocations: 2.478 MB / 0.9924 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.7695, allocations: 0.7669 MB / 0.9932 GB, free: 336 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.7699, allocations: 477.6 kB / 0.9936 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.77, allocations: 313 kB / 0.9939 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.7715, allocations: 1.372 MB / 0.9953 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.7732, allocations: 2.112 MB / 0.9973 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.7767, allocations: 3.762 MB / 1.001 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.7767, allocations: 12 kB / 1.001 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005735/0.7825, allocations: 5.031 MB / 1.006 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.7825, allocations: 20.03 kB / 1.006 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.7825, allocations: 20 kB / 1.006 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.7849, allocations: 1.578 MB / 1.008 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.7859, allocations: 455.2 kB / 1.008 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.8011, allocations: 17.91 MB / 1.025 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.8028, allocations: 151.9 kB / 1.026 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.8029, allocations: 104 kB / 1.026 GB, free: 13.92 MB / 0.8073 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002541/0.8055, allocations: 1.941 MB / 1.028 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.8059, allocations: 302.2 kB / 1.028 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/0.8106, allocations: 4.404 MB / 1.032 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.8106, allocations: 20 kB / 1.032 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/0.8106, allocations: 16 kB / 1.032 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.8106, allocations: 11.95 kB / 1.032 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.822, allocations: 9.168 MB / 1.041 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.822, allocations: 4 kB / 1.041 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.8226, allocations: 227.6 kB / 1.041 GB, free: 13.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.8247, allocations: 1.427 MB / 1.043 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.8248, allocations: 40 kB / 1.043 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.8396, allocations: 17.91 MB / 1.06 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.8396, allocations: 12.12 kB / 1.06 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.8445, allocations: 4.499 MB / 1.065 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.8458, allocations: 0.5722 MB / 1.065 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.8461, allocations: 47.92 kB / 1.065 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.8468, allocations: 115.9 kB / 1.065 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.8472, allocations: 189.3 kB / 1.066 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.8472, allocations: 64 kB / 1.066 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0013/0.8485, allocations: 1.315 MB / 1.067 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8485, allocations: 0 / 1.067 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002276/0.8508, allocations: 1.145 MB / 1.068 GB, free: 1.754 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00464/0.8555, allocations: 5.11 MB / 1.073 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004795/0.8603, allocations: 4.54 MB / 1.078 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.8603, allocations: 4 kB / 1.078 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002977/0.8632, allocations: 2.8 MB / 1.08 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.8658, allocations: 0.9 MB / 1.081 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03858/0.9044, allocations: 30.56 MB / 1.111 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/0.9077, allocations: 3.163 MB / 1.114 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001501/0.9092, allocations: 0.5518 MB / 1.115 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/0.911, allocations: 1.948 MB / 1.117 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of SimCode: time 1.663e-06/0.911, allocations: 0 / 1.117 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/1.375, allocations: 90.55 MB / 1.205 GB, free: 257.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/10.03, allocations: 0.5 kB / 1.205 GB, free: 257.4 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.099067684262991] Failed to read output from testmodel.py, exit status != 0: 10.142384132836014 10.149181104 9.500378564 Calling exit ...