Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0007941/0.0007941, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.0008877/0.0008877, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9709/0.9709, allocations: 230.6 MB / 256 MB, free: 9.793 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.7971/0.7971, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.0009975/0.0009975, allocations: 70.67 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4951, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009909/0.505, allocations: 11.62 MB / 0.8292 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007931/0.5129, allocations: 6.02 MB / 0.8351 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.514, allocations: 70 kB / 0.8352 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.5166, allocations: 1.804 MB / 0.8369 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.5196, allocations: 1.181 MB / 0.8381 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.5219, allocations: 0.8248 MB / 0.8389 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003466/0.5254, allocations: 2.122 MB / 0.8409 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.5269, allocations: 1.029 MB / 0.842 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5284, allocations: 0.8754 MB / 0.8428 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.5295, allocations: 0.9676 MB / 0.8438 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.5297, allocations: 115.3 kB / 0.8439 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.5318, allocations: 1.203 MB / 0.845 GB, free: 72 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007113/0.5325, allocations: 0.5437 MB / 0.8456 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006776/0.5332, allocations: 0.7853 MB / 0.8463 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.5361, allocations: 2.431 MB / 0.8487 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.5361, allocations: 7.984 kB / 0.8487 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5361, allocations: 0 / 0.8487 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.848e-05/0.5361, allocations: 0 / 0.8487 GB, free: 13.56 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002411/0.5386, allocations: 1.85 MB / 0.8505 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5386, allocations: 9.625 kB / 0.8505 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.5388, allocations: 213 kB / 0.8507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.5414, allocations: 0.6733 MB / 0.8514 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.5428, allocations: 0.9137 MB / 0.8523 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.5429, allocations: 96.64 kB / 0.8524 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.543, allocations: 131.1 kB / 0.8525 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.5454, allocations: 2.206 MB / 0.8547 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.5455, allocations: 17.38 kB / 0.8547 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.853e-05/0.5456, allocations: 65.16 kB / 0.8547 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.5457, allocations: 161.6 kB / 0.8549 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.548, allocations: 1.869 MB / 0.8567 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007918/0.5559, allocations: 11.75 MB / 0.8682 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.5585, allocations: 1.872 MB / 0.87 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.5591, allocations: 0.5522 MB / 0.8706 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.5592, allocations: 25.23 kB / 0.8706 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5592, allocations: 51.94 kB / 0.8706 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 2.925e-06/0.5592, allocations: 0 / 0.8706 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.004066/0.5633, allocations: 3.121 MB / 0.8737 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.5633, allocations: 63.16 kB / 0.8737 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008644/0.5642, allocations: 0.9261 MB / 0.8746 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.5642, allocations: 41.67 kB / 0.8747 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.5649, allocations: 0.7481 MB / 0.8754 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.5651, allocations: 410.2 kB / 0.8758 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.5654, allocations: 293.6 kB / 0.8761 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.5654, allocations: 302.2 kB / 0.8764 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.5661, allocations: 0.6126 MB / 0.877 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/0.567, allocations: 1.106 MB / 0.8781 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.5685, allocations: 1.832 MB / 0.8798 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5685, allocations: 8 kB / 0.8798 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002288/0.5708, allocations: 2.101 MB / 0.8819 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5708, allocations: 12 kB / 0.8819 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.5709, allocations: 16 kB / 0.8819 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.5713, allocations: 266.7 kB / 0.8822 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.5723, allocations: 371.4 kB / 0.8825 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.578, allocations: 10.75 MB / 0.893 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5791, allocations: 127.8 kB / 0.8932 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.5792, allocations: 68 kB / 0.8932 GB, free: 6.172 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006528/0.5799, allocations: 413.2 kB / 0.8936 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.58, allocations: 139.1 kB / 0.8937 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.5818, allocations: 1.673 MB / 0.8954 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5818, allocations: 16 kB / 0.8954 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5818, allocations: 0 / 0.8954 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5818, allocations: 11.95 kB / 0.8954 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.5855, allocations: 3.259 MB / 0.8986 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5855, allocations: 11.98 kB / 0.8986 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.586, allocations: 216.3 kB / 0.8988 GB, free: 276 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.5864, allocations: 242.6 kB / 0.899 GB, free: 8 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.5864, allocations: 39.95 kB / 0.8991 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/0.5915, allocations: 10.74 MB / 0.9096 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5915, allocations: 8 kB / 0.9096 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.5936, allocations: 1.808 MB / 0.9113 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.594, allocations: 242.9 kB / 0.9116 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.5941, allocations: 31.98 kB / 0.9116 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.5945, allocations: 91.88 kB / 0.9117 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5947, allocations: 104.7 kB / 0.9118 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.5947, allocations: 35.98 kB / 0.9118 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005756/0.5953, allocations: 0.6177 MB / 0.9124 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5e-08/0.5953, allocations: 0 / 0.9124 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00121/0.5965, allocations: 392 kB / 0.9128 GB, free: 0.8711 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001942/0.5984, allocations: 2.387 MB / 0.9151 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.6011, allocations: 2.403 MB / 0.9175 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6011, allocations: 4 kB / 0.9175 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.6022, allocations: 1.586 MB / 0.919 GB, free: 10.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.6033, allocations: 361 kB / 0.9194 GB, free: 9.836 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6149, allocations: 11.54 MB / 0.9306 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.6156, allocations: 1.327 MB / 0.9319 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006907/0.6163, allocations: 363.3 kB / 0.9323 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.6167, allocations: 0.5344 MB / 0.9328 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.503e-06/0.6167, allocations: 0 / 0.9328 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/0.6716, allocations: 29.67 MB / 0.9618 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.497, allocations: 13.8 kB / 0.9618 GB, free: 13.97 MB / 0.7448 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.468153464840725] Failed to read output from testmodel.py, exit status != 0: 9.593441633041948 9.60396863 9.065748561 Calling exit ...