Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0008727/0.0008727, 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.0008466/0.0008466, 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.9036/0.9036, allocations: 177.1 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.7493/0.7493, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.284e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01522/0.01524, allocations: 21.81 MB / 0.6394 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008361/0.0236, allocations: 6.386 MB / 0.6456 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.02534, allocations: 127.1 kB / 0.6457 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.02772, allocations: 1.511 MB / 0.6472 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.03215, allocations: 1.997 MB / 0.6492 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.03532, allocations: 1.465 MB / 0.6506 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006365/0.04168, allocations: 7.028 MB / 0.6574 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004455/0.04614, allocations: 3.738 MB / 0.6611 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004481/0.05062, allocations: 4.011 MB / 0.665 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005013/0.05563, allocations: 3.406 MB / 0.6683 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008795/0.05651, allocations: 0.5273 MB / 0.6689 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.05808, allocations: 1.131 MB / 0.67 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.05969, allocations: 2.658 MB / 0.6726 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.06162, allocations: 1.758 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2907/0.3523, allocations: 8.683 MB / 0.6828 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3523, allocations: 2.906 kB / 0.6828 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3523, allocations: 0 / 0.6828 GB, free: 64.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001982/0.3525, allocations: 0 / 0.6828 GB, free: 64.11 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006654/0.3592, allocations: 4.421 MB / 0.6871 GB, free: 62.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3592, allocations: 14.03 kB / 0.6871 GB, free: 62.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006382/0.3599, allocations: 0.5761 MB / 0.6876 GB, free: 62.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/0.3645, allocations: 1.712 MB / 0.6893 GB, free: 61.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00617/0.3706, allocations: 2.667 MB / 0.6919 GB, free: 61.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.3708, allocations: 275.7 kB / 0.6922 GB, free: 61.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.3718, allocations: 363.7 kB / 0.6925 GB, free: 61.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009212/0.3811, allocations: 7.714 MB / 0.7001 GB, free: 60.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-05/0.3811, allocations: 14.56 kB / 0.7001 GB, free: 60.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.3814, allocations: 160.2 kB / 0.7002 GB, free: 60.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/0.3818, allocations: 491.3 kB / 0.7007 GB, free: 60.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006403/0.3882, allocations: 5.696 MB / 0.7063 GB, free: 58.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.4151, allocations: 20.52 MB / 0.7263 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.4176, allocations: 2.023 MB / 0.7283 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.4201, allocations: 2.105 MB / 0.7303 GB, free: 45.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.4202, allocations: 19.59 kB / 0.7303 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4203, allocations: 46.5 kB / 0.7304 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 3.556e-06/0.4203, allocations: 0 / 0.7304 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=251): time 0.1432/0.5634, allocations: 76.72 MB / 0.8053 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.5635, allocations: 77.41 kB / 0.8054 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.5652, allocations: 1.697 MB / 0.8071 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003744/0.5656, allocations: 65.7 kB / 0.8071 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008227/0.5664, allocations: 1.794 MB / 0.8089 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006539/0.5671, allocations: 0.8877 MB / 0.8097 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/0.5677, allocations: 481.4 kB / 0.8102 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.5678, allocations: 305.1 kB / 0.8105 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.5705, allocations: 2.726 MB / 0.8131 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/0.5734, allocations: 3.334 MB / 0.8164 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005924/0.5793, allocations: 6.399 MB / 0.8226 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.5794, allocations: 8 kB / 0.8227 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01961/0.599, allocations: 14.41 MB / 0.8367 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.599, allocations: 12 kB / 0.8367 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.599, allocations: 16 kB / 0.8368 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01753/0.6166, allocations: 9.193 MB / 0.8457 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.6174, allocations: 297.2 kB / 0.846 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05338/0.6708, allocations: 51.04 MB / 0.8959 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.6728, allocations: 223.7 kB / 0.8961 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.673, allocations: 99.98 kB / 0.8962 GB, free: 11.23 MB / 0.7448 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002433/0.6755, allocations: 1.577 MB / 0.8977 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.6759, allocations: 266.6 kB / 0.898 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02061/0.6965, allocations: 14.47 MB / 0.9121 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.6965, allocations: 26.53 kB / 0.9121 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001431/0.6967, allocations: 48 kB / 0.9122 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/0.6967, allocations: 11.95 kB / 0.9122 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/0.7248, allocations: 19.52 MB / 0.9312 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.7248, allocations: 4 kB / 0.9312 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.7253, allocations: 171.7 kB / 0.9314 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01723/0.7425, allocations: 8.978 MB / 0.9402 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/0.7429, allocations: 44 kB / 0.9402 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3483/1.091, allocations: 50.59 MB / 0.9896 GB, free: 265.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/1.091, allocations: 13.56 kB / 0.9896 GB, free: 265.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.111, allocations: 14.07 MB / 1.003 GB, free: 264.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.113, allocations: 0.7877 MB / 1.004 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/1.113, allocations: 48.06 kB / 1.004 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.115, allocations: 210.1 kB / 1.004 GB, free: 263.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.116, allocations: 250.2 kB / 1.005 GB, free: 263.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.116, allocations: 65.77 kB / 1.005 GB, free: 263.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001149/1.117, allocations: 1.127 MB / 1.006 GB, free: 263.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-07/1.117, allocations: 3.359 kB / 1.006 GB, free: 263.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003824/1.121, allocations: 1.61 MB / 1.007 GB, free: 263.3 MB / 0.823 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02156/1.142, allocations: 14.7 MB / 1.022 GB, free: 258.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.158, allocations: 10.19 MB / 1.032 GB, free: 255.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.158, allocations: 1.219 kB / 1.032 GB, free: 255.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/1.169, allocations: 6.994 MB / 1.038 GB, free: 253.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.172, allocations: 0.5595 MB / 1.039 GB, free: 253.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06269/1.234, allocations: 50.6 MB / 1.088 GB, free: 212.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/1.237, allocations: 2.681 MB / 1.091 GB, free: 209.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008769/1.238, allocations: 393.5 kB / 1.091 GB, free: 209.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008636/1.239, allocations: 1.461 MB / 1.093 GB, free: 207.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.472e-06/1.239, allocations: 0 / 1.093 GB, free: 207.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.358, allocations: 129.4 MB / 1.219 GB, free: 79.23 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/10.85, allocations: 10.97 kB / 1.219 GB, free: 79.22 MB / 0.823 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.827227209694684] Failed to read output from testmodel.py, exit status != 0: 10.980462088249624 10.989938093 10.636100379 Calling exit ...