Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001086/0.001086, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001435/0.001435, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9416/0.9416, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7241/0.7241, 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_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.495e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01736/0.01739, allocations: 21.12 MB / 0.6387 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00833/0.02572, allocations: 6.116 MB / 0.6447 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.02753, allocations: 127.1 kB / 0.6448 GB, free: 2.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.03008, allocations: 1.573 MB / 0.6463 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.03406, allocations: 1.768 MB / 0.648 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.03691, allocations: 1.36 MB / 0.6494 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006925/0.04383, allocations: 6.036 MB / 0.6553 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004972/0.0488, allocations: 3.213 MB / 0.6584 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/0.05478, allocations: 3.446 MB / 0.6618 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004895/0.05968, allocations: 2.767 MB / 0.6645 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.06101, allocations: 460 kB / 0.6649 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.06452, allocations: 1.053 MB / 0.6659 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003084/0.0676, allocations: 2.19 MB / 0.6681 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003108/0.07071, allocations: 1.497 MB / 0.6695 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007105/0.07782, allocations: 7.441 MB / 0.6768 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.07782, allocations: 0 / 0.6768 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.07783, allocations: 0 / 0.6768 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001941/0.07802, allocations: 0 / 0.6768 GB, free: 1.316 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.3043/0.3823, allocations: 3.788 MB / 0.6805 GB, free: 95.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3824, allocations: 11 kB / 0.6805 GB, free: 95.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005563/0.3829, allocations: 0.499 MB / 0.681 GB, free: 94.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/0.3866, allocations: 1.246 MB / 0.6822 GB, free: 94.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/0.3902, allocations: 2.303 MB / 0.6845 GB, free: 93.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.3903, allocations: 239.9 kB / 0.6847 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.3908, allocations: 314.9 kB / 0.685 GB, free: 93.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006957/0.3978, allocations: 6.441 MB / 0.6913 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.3979, allocations: 20.94 kB / 0.6913 GB, free: 90.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.3981, allocations: 143.6 kB / 0.6914 GB, free: 90.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/0.3984, allocations: 403.3 kB / 0.6918 GB, free: 90.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.4043, allocations: 4.661 MB / 0.6964 GB, free: 88.93 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.4206, allocations: 18.62 MB / 0.7146 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.4221, allocations: 1.373 MB / 0.7159 GB, free: 76.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4235, allocations: 1.441 MB / 0.7173 GB, free: 76.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.61e-05/0.4235, allocations: 12.56 kB / 0.7173 GB, free: 76.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4236, allocations: 44.03 kB / 0.7174 GB, free: 76.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.357e-06/0.4236, allocations: 0 / 0.7174 GB, free: 76.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=179): time 0.07395/0.4975, allocations: 37.07 MB / 0.7536 GB, free: 58.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.4976, allocations: 73.41 kB / 0.7536 GB, free: 58.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.4988, allocations: 1.454 MB / 0.7551 GB, free: 57.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.499, allocations: 53.7 kB / 0.7551 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.4994, allocations: 1.575 MB / 0.7566 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.4997, allocations: 0.6346 MB / 0.7573 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.5001, allocations: 379.5 kB / 0.7576 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.844e-05/0.5001, allocations: 301.1 kB / 0.7579 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.5016, allocations: 1.788 MB / 0.7597 GB, free: 52.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.5031, allocations: 2.354 MB / 0.762 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.5062, allocations: 4.387 MB / 0.7662 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.5062, allocations: 4 kB / 0.7662 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01047/0.5167, allocations: 8.428 MB / 0.7745 GB, free: 36.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.5167, allocations: 12 kB / 0.7745 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.5168, allocations: 21.03 kB / 0.7745 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007726/0.5245, allocations: 4.609 MB / 0.779 GB, free: 32.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.5253, allocations: 311.4 kB / 0.7793 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0255/0.5508, allocations: 31.58 MB / 0.8101 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5525, allocations: 147.8 kB / 0.8103 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5526, allocations: 91.92 kB / 0.8104 GB, free: 15.44 MB / 0.6511 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00189/0.5545, allocations: 1.334 MB / 0.8117 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.5549, allocations: 202.7 kB / 0.8119 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.5661, allocations: 8.308 MB / 0.82 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.5661, allocations: 18.53 kB / 0.82 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.38e-05/0.5662, allocations: 24 kB / 0.82 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.5663, allocations: 11.95 kB / 0.82 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.5834, allocations: 12.21 MB / 0.832 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.5834, allocations: 4 kB / 0.832 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.5839, allocations: 171.6 kB / 0.8321 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008095/0.592, allocations: 4.471 MB / 0.8365 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/0.5922, allocations: 39.94 kB / 0.8365 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03183/0.6241, allocations: 31.18 MB / 0.867 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.6241, allocations: 11.94 kB / 0.867 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.6346, allocations: 8.085 MB / 0.8749 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.6358, allocations: 0.5492 MB / 0.8754 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.636, allocations: 43.98 kB / 0.8755 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/0.6368, allocations: 131.8 kB / 0.8756 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/0.6374, allocations: 184.7 kB / 0.8758 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/0.6375, allocations: 47.98 kB / 0.8758 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009582/0.6384, allocations: 0.9588 MB / 0.8768 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.6384, allocations: 0 / 0.8768 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002738/0.6412, allocations: 1.113 MB / 0.8778 GB, free: 9.301 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01071/0.6519, allocations: 8.689 MB / 0.8863 GB, free: 484 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008572/0.6605, allocations: 6.3 MB / 0.8925 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.6605, allocations: 0 / 0.8925 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005593/0.6661, allocations: 4.185 MB / 0.8966 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.6679, allocations: 0.5151 MB / 0.8971 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04364/0.7115, allocations: 33.59 MB / 0.9299 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/0.7139, allocations: 2.162 MB / 0.932 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008565/0.7147, allocations: 392.5 kB / 0.9324 GB, free: 264 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009333/0.7157, allocations: 1.215 MB / 0.9335 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of SimCode: time 1.563e-06/0.7157, allocations: 0 / 0.9335 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3893/1.105, allocations: 89.95 MB / 1.021 GB, free: 243.3 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.939, allocations: 2.047 kB / 1.021 GB, free: 243.3 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.86028955038637] Failed to read output from testmodel.py, exit status != 0: 10.054358321242034 10.066196045 9.986218058 Calling exit ...