Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008058/0.0008058, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009913/0.0009913, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9311/0.9311, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7937/0.7937, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.00129/0.00129, allocations: 73.62 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.494, allocations: 102 MB / 0.8174 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02674/0.5208, allocations: 31.69 MB / 0.8483 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.5393, allocations: 14.48 MB / 0.8625 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.5429, allocations: 202.9 kB / 0.8627 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005888/0.5488, allocations: 3.675 MB / 0.8663 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007732/0.5566, allocations: 2.98 MB / 0.8692 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005068/0.5616, allocations: 2.327 MB / 0.8714 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.5732, allocations: 8.822 MB / 0.88 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006904/0.5801, allocations: 5.487 MB / 0.8854 GB, free: 20 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006717/0.5868, allocations: 4.098 MB / 0.8894 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005661/0.5925, allocations: 3.998 MB / 0.8933 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.5938, allocations: 0.7148 MB / 0.894 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.5969, allocations: 1.619 MB / 0.8956 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002583/0.5995, allocations: 2.895 MB / 0.8984 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004886/0.6044, allocations: 2.755 MB / 0.9011 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.616, allocations: 11.28 MB / 0.9121 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.616, allocations: 4 kB / 0.9121 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.616, allocations: 3.938 kB / 0.9121 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002802/0.6163, allocations: 0 / 0.9121 GB, free: 4.566 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01013/0.6264, allocations: 6.049 MB / 0.918 GB, free: 14.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.6265, allocations: 8.031 kB / 0.918 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001338/0.6278, allocations: 0.7232 MB / 0.9188 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004619/0.6325, allocations: 1.176 MB / 0.9199 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005824/0.6383, allocations: 3.47 MB / 0.9233 GB, free: 8.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.6385, allocations: 374.4 kB / 0.9236 GB, free: 8.602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009428/0.6394, allocations: 499.8 kB / 0.9241 GB, free: 8.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.6528, allocations: 8.858 MB / 0.9328 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.653, allocations: 23.81 kB / 0.9328 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007031/0.6537, allocations: 223.9 kB / 0.933 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006376/0.6543, allocations: 437.6 kB / 0.9334 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009073/0.6634, allocations: 6.073 MB / 0.9394 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.6889, allocations: 22.05 MB / 0.9609 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.6908, allocations: 1.905 MB / 0.9627 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.6927, allocations: 1.748 MB / 0.9645 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/0.6928, allocations: 18 kB / 0.9645 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.6928, allocations: 64.5 kB / 0.9645 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=171): time 3.927e-06/0.6928, allocations: 0 / 0.9645 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276): time 0.07733/0.7702, allocations: 38.71 MB / 1.002 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.7702, allocations: 81.56 kB / 1.002 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.7725, allocations: 2.317 MB / 1.005 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.7727, allocations: 69.7 kB / 1.005 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.774, allocations: 2.342 MB / 1.007 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000594/0.7746, allocations: 0.976 MB / 1.008 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/0.7752, allocations: 0.5102 MB / 1.008 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.7753, allocations: 313.1 kB / 1.009 GB, free: 292 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.7771, allocations: 1.977 MB / 1.011 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.7795, allocations: 2.599 MB / 1.013 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.7836, allocations: 4.933 MB / 1.018 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.579e-06/0.7836, allocations: 4 kB / 1.018 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009245/0.7929, allocations: 7.654 MB / 1.026 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.7929, allocations: 12 kB / 1.026 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.7929, allocations: 16 kB / 1.026 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005391/0.7983, allocations: 3.209 MB / 1.029 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.7993, allocations: 399.3 kB / 1.029 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02858/0.8279, allocations: 32.74 MB / 1.061 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.8302, allocations: 159.8 kB / 1.061 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.8304, allocations: 108 kB / 1.061 GB, free: 9.188 MB / 0.8386 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003103/0.8335, allocations: 1.805 MB / 1.063 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006252/0.8342, allocations: 341.9 kB / 1.063 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/0.8426, allocations: 7.243 MB / 1.07 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.8426, allocations: 24 kB / 1.07 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.822e-05/0.8427, allocations: 32 kB / 1.071 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.8427, allocations: 11.95 kB / 1.071 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8578, allocations: 12.15 MB / 1.082 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.8578, allocations: 7.938 kB / 1.082 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.8583, allocations: 243.7 kB / 1.083 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004555/0.8629, allocations: 2.84 MB / 1.085 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.863, allocations: 51.94 kB / 1.085 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02897/0.892, allocations: 31.55 MB / 1.116 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.892, allocations: 8 kB / 1.116 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008973/0.901, allocations: 6.791 MB / 1.123 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/0.9035, allocations: 0.7242 MB / 1.124 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/0.9044, allocations: 48 kB / 1.124 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.9062, allocations: 171.7 kB / 1.124 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008961/0.9071, allocations: 277 kB / 1.124 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.9072, allocations: 76 kB / 1.124 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002889/0.9101, allocations: 1.525 MB / 1.126 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2e-07/0.9101, allocations: 0 / 1.126 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005374/0.9155, allocations: 1.371 MB / 1.127 GB, free: 4.723 MB / 0.9011 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008383/0.9239, allocations: 7.412 MB / 1.134 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008353/0.9322, allocations: 6.563 MB / 1.141 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.9322, allocations: 0 / 1.141 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005752/0.938, allocations: 4.249 MB / 1.145 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/0.9423, allocations: 1.118 MB / 1.146 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3764/1.319, allocations: 39.06 MB / 1.184 GB, free: 271.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/1.322, allocations: 3.107 MB / 1.187 GB, free: 270.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00133/1.323, allocations: 0.5553 MB / 1.188 GB, free: 270.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.325, allocations: 1.973 MB / 1.19 GB, free: 268.8 MB / 0.9167 GB Notification: Performance of SimCode: time 2.074e-06/1.325, allocations: 0 / 1.19 GB, free: 268.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.43, allocations: 119 MB / 1.306 GB, free: 161.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.547/10.98, allocations: 8 kB / 1.306 GB, free: 161.3 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.027354680001736] Failed to read output from testmodel.py, exit status != 0: 11.105728198774159 11.112547846 10.494670715 Calling exit ...