Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0008712/0.0008712, 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: 170.3 kB / 22.46 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.9169/0.9169, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7244/0.7244, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 4 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.736e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02429/0.02432, allocations: 32.98 MB / 0.6503 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.0371, allocations: 9.855 MB / 0.6599 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.03995, allocations: 190.6 kB / 0.6601 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.04561, allocations: 3.849 MB / 0.6638 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.0518, allocations: 2.198 MB / 0.666 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004995/0.05679, allocations: 1.985 MB / 0.6679 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008721/0.06551, allocations: 8.133 MB / 0.6759 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.308/0.3735, allocations: 5.243 MB / 0.681 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007983/0.3815, allocations: 4.888 MB / 0.6858 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.3862, allocations: 3.457 MB / 0.6891 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.3874, allocations: 0.6786 MB / 0.6898 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.3898, allocations: 1.376 MB / 0.6911 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002508/0.3923, allocations: 2.804 MB / 0.6939 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003452/0.3957, allocations: 2.171 MB / 0.696 GB, free: 52.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007842/0.4036, allocations: 10.58 MB / 0.7063 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4036, allocations: 2.047 kB / 0.7063 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4036, allocations: 0 / 0.7063 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003123/0.4039, allocations: 0 / 0.7063 GB, free: 51.98 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01106/0.415, allocations: 5.402 MB / 0.7116 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.415, allocations: 12.34 kB / 0.7116 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001236/0.4162, allocations: 0.7038 MB / 0.7123 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.4196, allocations: 1 MB / 0.7133 GB, free: 49.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/0.4253, allocations: 3.14 MB / 0.7163 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.4255, allocations: 358.4 kB / 0.7167 GB, free: 47.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009762/0.4265, allocations: 468.4 kB / 0.7171 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.4385, allocations: 8.658 MB / 0.7256 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-05/0.4386, allocations: 24.41 kB / 0.7256 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/0.439, allocations: 208.9 kB / 0.7258 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/0.4394, allocations: 372.3 kB / 0.7262 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4498, allocations: 5.931 MB / 0.732 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.4744, allocations: 23.71 MB / 0.7551 GB, free: 25.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.4767, allocations: 1.99 MB / 0.7571 GB, free: 24.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.4778, allocations: 1.327 MB / 0.7584 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.558e-05/0.4779, allocations: 14.44 kB / 0.7584 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4779, allocations: 58.69 kB / 0.7584 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 3.837e-06/0.4779, allocations: 0 / 0.7584 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.008563/0.4865, allocations: 6.668 MB / 0.7649 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.4865, allocations: 68.06 kB / 0.765 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.4883, allocations: 1.91 MB / 0.7669 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.4884, allocations: 53.95 kB / 0.7669 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007133/0.4892, allocations: 2.18 MB / 0.769 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.4894, allocations: 0.5756 MB / 0.7696 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.4898, allocations: 403.1 kB / 0.77 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.602e-05/0.4898, allocations: 309.1 kB / 0.7703 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009609/0.4908, allocations: 1.058 MB / 0.7713 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4919, allocations: 1.764 MB / 0.773 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.4941, allocations: 3.05 MB / 0.776 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4941, allocations: 6.562 kB / 0.776 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003766/0.4979, allocations: 3.904 MB / 0.7798 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.4979, allocations: 23.84 kB / 0.7799 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4979, allocations: 23.38 kB / 0.7799 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.4993, allocations: 0.9229 MB / 0.7808 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.5001, allocations: 428.5 kB / 0.7812 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.5112, allocations: 21.37 MB / 0.8021 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.5128, allocations: 123.9 kB / 0.8022 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.5129, allocations: 95.98 kB / 0.8023 GB, free: 4.238 MB / 0.6511 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002477/0.5154, allocations: 1.652 MB / 0.8039 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.5158, allocations: 268.4 kB / 0.8041 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.5195, allocations: 3.235 MB / 0.8073 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5195, allocations: 16 kB / 0.8073 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/0.5195, allocations: 12 kB / 0.8073 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.5195, allocations: 7.969 kB / 0.8073 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/0.5283, allocations: 7.156 MB / 0.8143 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5284, allocations: 4 kB / 0.8143 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.5289, allocations: 218.3 kB / 0.8145 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.5302, allocations: 0.8879 MB / 0.8154 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.5303, allocations: 28 kB / 0.8154 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.5426, allocations: 21.35 MB / 0.8363 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5426, allocations: 4 kB / 0.8363 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.5463, allocations: 3.359 MB / 0.8396 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/0.5472, allocations: 474.7 kB / 0.84 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5474, allocations: 35.56 kB / 0.84 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.5481, allocations: 95.88 kB / 0.8401 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.5484, allocations: 144.5 kB / 0.8403 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.5484, allocations: 48 kB / 0.8403 GB, free: 11.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001272/0.5497, allocations: 1.221 MB / 0.8415 GB, free: 10.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5497, allocations: 0 / 0.8415 GB, free: 10.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00229/0.552, allocations: 0.9023 MB / 0.8424 GB, free: 9.746 MB / 0.698 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003781/0.5558, allocations: 3.973 MB / 0.8463 GB, free: 5.707 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004285/0.5601, allocations: 4.288 MB / 0.8505 GB, free: 1.402 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5601, allocations: 0 / 0.8505 GB, free: 1.402 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.5628, allocations: 2.895 MB / 0.8533 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.5656, allocations: 0.8367 MB / 0.8541 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/0.5978, allocations: 25.27 MB / 0.8788 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/0.6004, allocations: 2.673 MB / 0.8814 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001315/0.6017, allocations: 0.5293 MB / 0.8819 GB, free: 160 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.6031, allocations: 1.664 MB / 0.8835 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.6031, allocations: 0 / 0.8835 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/0.7059, allocations: 74.89 MB / 0.9567 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.4/10.11, allocations: 19.64 kB / 0.9567 GB, free: 5.043 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.978642458096147] Failed to read output from testmodel.py, exit status != 0: 10.2243911344558 10.234167156 9.828559445 Calling exit ...