Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.182/0.182, allocations: 38.51 MB / 342.5 MB, free: 8.031 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 68.73 kB / 478.6 MB, free: 33.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 61.25 MB / 0.5272 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01005/0.1176, allocations: 7.694 MB / 0.5347 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.1264, allocations: 5.421 MB / 0.54 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.127, allocations: 23.88 kB / 0.54 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.1371, allocations: 5.197 MB / 0.5451 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.1389, allocations: 0.6455 MB / 0.5457 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1402, allocations: 462.6 kB / 0.5462 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.1437, allocations: 2.21 MB / 0.5483 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.1453, allocations: 0.9479 MB / 0.5493 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1465, allocations: 0.6423 MB / 0.5499 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.1481, allocations: 0.7941 MB / 0.5507 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003106/0.1484, allocations: 116 kB / 0.5508 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.1494, allocations: 407.5 kB / 0.5512 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.15, allocations: 0.5064 MB / 0.5517 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008395/0.1508, allocations: 0.5911 MB / 0.5522 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.1529, allocations: 1.724 MB / 0.5539 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1529, allocations: 0 / 0.5539 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1529, allocations: 0 / 0.5539 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.153, allocations: 4 kB / 0.5539 GB, free: 5.891 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002982/0.1559, allocations: 1.458 MB / 0.5554 GB, free: 4.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.156, allocations: 11.89 kB / 0.5554 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.1562, allocations: 127.3 kB / 0.5555 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.1569, allocations: 160.1 kB / 0.5556 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.1589, allocations: 0.9761 MB / 0.5566 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.159, allocations: 58 kB / 0.5567 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.1592, allocations: 95.97 kB / 0.5567 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1608, allocations: 1.063 MB / 0.5578 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.1609, allocations: 15.89 kB / 0.5578 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.1609, allocations: 32 kB / 0.5578 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002199/0.1612, allocations: 73.95 kB / 0.5579 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1626, allocations: 0.8353 MB / 0.5587 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006114/0.1687, allocations: 3.978 MB / 0.5626 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1698, allocations: 0.5899 MB / 0.5632 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.1704, allocations: 302.4 kB / 0.5635 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.1704, allocations: 4.562 kB / 0.5635 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.1704, allocations: 47.05 kB / 0.5635 GB, free: 11.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 4.128e-06/0.1704, allocations: 7.922 kB / 0.5635 GB, free: 11.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004867/0.1753, allocations: 2.597 MB / 0.5661 GB, free: 9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.1754, allocations: 119.4 kB / 0.5662 GB, free: 8.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009232/0.1763, allocations: 0.6997 MB / 0.5669 GB, free: 8.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.1764, allocations: 33.7 kB / 0.5669 GB, free: 8.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.1768, allocations: 488.2 kB / 0.5674 GB, free: 7.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.177, allocations: 253.8 kB / 0.5676 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.1772, allocations: 150.6 kB / 0.5677 GB, free: 7.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.1775, allocations: 394.8 kB / 0.5681 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.178, allocations: 305.8 kB / 0.5684 GB, free: 6.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.1787, allocations: 0.5232 MB / 0.5689 GB, free: 5.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.1826, allocations: 1.664 MB / 0.5705 GB, free: 4.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1826, allocations: 4 kB / 0.5705 GB, free: 4.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002359/0.1849, allocations: 1.263 MB / 0.5718 GB, free: 2.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.185, allocations: 8 kB / 0.5718 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.185, allocations: 8 kB / 0.5718 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.1861, allocations: 401.6 kB / 0.5722 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.1866, allocations: 151.7 kB / 0.5723 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.1948, allocations: 6.246 MB / 0.5784 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.1953, allocations: 35.94 kB / 0.5785 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.1954, allocations: 32 kB / 0.5785 GB, free: 11.69 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005386/0.1959, allocations: 357.5 kB / 0.5788 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1961, allocations: 79.48 kB / 0.5789 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.1977, allocations: 0.8956 MB / 0.5798 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1977, allocations: 8 kB / 0.5798 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1977, allocations: 0 / 0.5798 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.1978, allocations: 0 / 0.5798 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.2012, allocations: 2.01 MB / 0.5817 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2012, allocations: 0 / 0.5817 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.2018, allocations: 115.9 kB / 0.5819 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/0.2023, allocations: 198.5 kB / 0.582 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.2024, allocations: 23.98 kB / 0.5821 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.2074, allocations: 5.492 MB / 0.5874 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2074, allocations: 4.031 kB / 0.5874 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.2094, allocations: 1.259 MB / 0.5887 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.2098, allocations: 220.4 kB / 0.5889 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2099, allocations: 20 kB / 0.5889 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.2103, allocations: 19.98 kB / 0.5889 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.2103, allocations: 48.44 kB / 0.589 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.2104, allocations: 23.98 kB / 0.589 GB, free: 316 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006581/0.2111, allocations: 499 kB / 0.5895 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2111, allocations: 0 / 0.5895 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009828/0.212, allocations: 248 kB / 0.5897 GB, free: 15.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003629/0.2157, allocations: 2.117 MB / 0.5918 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.2177, allocations: 1.102 MB / 0.5928 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2177, allocations: 0 / 0.5928 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.2188, allocations: 0.7036 MB / 0.5935 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/0.2197, allocations: 192.7 kB / 0.5937 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.2331, allocations: 8.576 MB / 0.6021 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.2341, allocations: 1.142 MB / 0.6032 GB, free: 1.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005721/0.2347, allocations: 166.6 kB / 0.6034 GB, free: 1.266 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.2352, allocations: 351.3 kB / 0.6037 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.2352, allocations: 0 / 0.6037 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2933/0.5285, allocations: 21.51 MB / 0.6247 GB, free: 67.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.47, allocations: 3.938 kB / 0.6247 GB, free: 67.62 MB / 462.1 MB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.69139976007864] Failed to read output from testmodel.py, exit status != 0: 15.636200306937099 15.655216012 15.498429833 Calling exit ...