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.0009284/0.0009284, allocations: 105.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.001336/0.001336, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9787/0.9787, allocations: 230.6 MB / 256 MB, free: 9.59 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.7915/0.7915, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0008745/0.0008745, allocations: 70.52 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4819, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008608/0.4905, allocations: 10.68 MB / 0.8282 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006206/0.4967, allocations: 5.654 MB / 0.8338 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.4971, allocations: 73.56 kB / 0.8338 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.4994, allocations: 1.728 MB / 0.8355 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.5012, allocations: 1.187 MB / 0.8367 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.5027, allocations: 0.8137 MB / 0.8375 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.5048, allocations: 2.124 MB / 0.8395 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.5059, allocations: 1.018 MB / 0.8405 GB, free: 3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009365/0.5068, allocations: 0.8772 MB / 0.8414 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008342/0.5076, allocations: 0.9084 MB / 0.8423 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.5078, allocations: 114 kB / 0.8424 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.5094, allocations: 1.055 MB / 0.8434 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.5097, allocations: 0.5396 MB / 0.844 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.5103, allocations: 0.6485 MB / 0.8446 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.5122, allocations: 2.452 MB / 0.847 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5122, allocations: 0 / 0.847 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5122, allocations: 0 / 0.847 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.714e-05/0.5122, allocations: 4.969 kB / 0.847 GB, free: 15.06 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.00262/0.5148, allocations: 1.842 MB / 0.8488 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5149, allocations: 9.625 kB / 0.8488 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.5151, allocations: 217 kB / 0.849 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.5177, allocations: 0.6721 MB / 0.8497 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.5189, allocations: 0.924 MB / 0.8506 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.5189, allocations: 93.45 kB / 0.8506 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.5191, allocations: 126.7 kB / 0.8508 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.5216, allocations: 2.409 MB / 0.8531 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.5216, allocations: 16.77 kB / 0.8531 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5217, allocations: 69.44 kB / 0.8532 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.5219, allocations: 161.4 kB / 0.8534 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.5241, allocations: 1.857 MB / 0.8552 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007311/0.5314, allocations: 9.414 MB / 0.8644 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.534, allocations: 1.863 MB / 0.8662 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.5346, allocations: 0.5564 MB / 0.8667 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.5346, allocations: 25.94 kB / 0.8668 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5347, allocations: 50.91 kB / 0.8668 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=103): time 2.305e-06/0.5347, allocations: 1.312 kB / 0.8668 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.00383/0.5385, allocations: 3.126 MB / 0.8699 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5385, allocations: 63.38 kB / 0.8699 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.5393, allocations: 0.9545 MB / 0.8708 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.5393, allocations: 41.11 kB / 0.8709 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.5397, allocations: 0.76 MB / 0.8716 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.5399, allocations: 394.2 kB / 0.872 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.5402, allocations: 293.8 kB / 0.8723 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.5402, allocations: 302.2 kB / 0.8726 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.5408, allocations: 0.6105 MB / 0.8732 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/0.5416, allocations: 1.109 MB / 0.8743 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.5431, allocations: 1.828 MB / 0.876 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5431, allocations: 4 kB / 0.876 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002281/0.5453, allocations: 2.108 MB / 0.8781 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5454, allocations: 15.98 kB / 0.8781 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5454, allocations: 16 kB / 0.8781 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/0.5458, allocations: 251.3 kB / 0.8784 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.5465, allocations: 379.3 kB / 0.8787 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004972/0.5514, allocations: 10.73 MB / 0.8892 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.552, allocations: 127.8 kB / 0.8893 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.5521, allocations: 75.92 kB / 0.8894 GB, free: 10.1 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.0004166/0.5525, allocations: 409.2 kB / 0.8898 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5526, allocations: 139.2 kB / 0.8899 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.5546, allocations: 1.673 MB / 0.8916 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5546, allocations: 12 kB / 0.8916 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5546, allocations: 4 kB / 0.8916 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5546, allocations: 7.969 kB / 0.8916 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.5577, allocations: 3.115 MB / 0.8946 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.5577, allocations: 7.938 kB / 0.8946 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.5581, allocations: 220.4 kB / 0.8948 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.5585, allocations: 242.6 kB / 0.8951 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.5585, allocations: 35.88 kB / 0.8951 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.5637, allocations: 10.72 MB / 0.9056 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.5637, allocations: 11.94 kB / 0.9056 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5653, allocations: 1.8 MB / 0.9073 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.5656, allocations: 231 kB / 0.9076 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.5657, allocations: 31.98 kB / 0.9076 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.5661, allocations: 87.88 kB / 0.9077 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5662, allocations: 104.6 kB / 0.9078 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.5662, allocations: 36 kB / 0.9078 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000481/0.5667, allocations: 0.6177 MB / 0.9084 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.5667, allocations: 0 / 0.9084 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009556/0.5677, allocations: 396 kB / 0.9088 GB, free: 4.992 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.002181/0.5698, allocations: 2.379 MB / 0.9111 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.572, allocations: 2.41 MB / 0.9135 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.572, allocations: 0 / 0.9135 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.5731, allocations: 1.583 MB / 0.915 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.5741, allocations: 367.2 kB / 0.9154 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.5843, allocations: 11.53 MB / 0.9266 GB, free: 1.684 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.5848, allocations: 0.7335 MB / 0.9273 GB, free: 0.918 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000572/0.5853, allocations: 363.3 kB / 0.9277 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.5858, allocations: 0.5383 MB / 0.9282 GB, free: 20 kB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/0.5858, allocations: 0 / 0.9282 GB, free: 20 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/0.6349, allocations: 30.51 MB / 0.958 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.229, allocations: 3.266 kB / 0.958 GB, free: 2.023 MB / 0.7292 GB " [Timeout remaining time 652] (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: 11.156073508318514] Failed to read output from testmodel.py, exit status != 0: 8.323558105155826 8.332812833 7.818865497 Calling exit ...