Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.001317/0.001317, allocations: 124.3 kB / 17.79 MB, free: 5.121 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.0013/0.0013, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.437/1.437, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.1795/0.1795, 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.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.02 kB / 478.6 MB, free: 33.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09606, allocations: 61.25 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01001/0.1061, allocations: 7.521 MB / 0.5346 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.1112, allocations: 3.003 MB / 0.5375 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.1116, allocations: 31.88 kB / 0.5375 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.1136, allocations: 0.7931 MB / 0.5383 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1153, allocations: 0.696 MB / 0.539 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.1162, allocations: 375.2 kB / 0.5393 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.1179, allocations: 1.328 MB / 0.5406 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008384/0.1188, allocations: 0.5886 MB / 0.5412 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.1195, allocations: 0.5604 MB / 0.5418 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.1205, allocations: 0.6696 MB / 0.5424 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1206, allocations: 76 kB / 0.5425 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008801/0.1215, allocations: 499 kB / 0.543 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.1219, allocations: 466.7 kB / 0.5434 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.1224, allocations: 0.5054 MB / 0.5439 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1241, allocations: 1.432 MB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1241, allocations: 0 / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1241, allocations: 3.938 kB / 0.5453 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1241, allocations: 0 / 0.5453 GB, free: 14.76 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002308/0.1264, allocations: 1.288 MB / 0.5466 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1265, allocations: 11.89 kB / 0.5466 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.1266, allocations: 143.7 kB / 0.5467 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.1279, allocations: 212.1 kB / 0.5469 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.1294, allocations: 0.722 MB / 0.5476 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.1295, allocations: 66.11 kB / 0.5477 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.1297, allocations: 95.97 kB / 0.5478 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.1315, allocations: 1.119 MB / 0.5489 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.1315, allocations: 4 kB / 0.5489 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.1316, allocations: 39.98 kB / 0.5489 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.1318, allocations: 73.95 kB / 0.549 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.1333, allocations: 0.8821 MB / 0.5498 GB, free: 9.969 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005864/0.1391, allocations: 4.063 MB / 0.5538 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.1398, allocations: 403.7 kB / 0.5542 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.1402, allocations: 257.5 kB / 0.5544 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.1402, allocations: 7.984 kB / 0.5544 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1402, allocations: 42.5 kB / 0.5545 GB, free: 4.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.1402, allocations: 0 / 0.5545 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004493/0.1447, allocations: 2.003 MB / 0.5564 GB, free: 2.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1448, allocations: 81.55 kB / 0.5565 GB, free: 2.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/0.1456, allocations: 0.5732 MB / 0.5571 GB, free: 2.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.1456, allocations: 33.7 kB / 0.5571 GB, free: 2.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.146, allocations: 487.7 kB / 0.5576 GB, free: 1.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.1462, allocations: 198.3 kB / 0.5578 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.1464, allocations: 150.5 kB / 0.5579 GB, free: 1.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1466, allocations: 390.7 kB / 0.5583 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.147, allocations: 265.8 kB / 0.5585 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.1477, allocations: 0.5081 MB / 0.559 GB, free: 76 kB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.1509, allocations: 1.396 MB / 0.5604 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.1509, allocations: 4 kB / 0.5604 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002019/0.153, allocations: 1.092 MB / 0.5615 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.153, allocations: 12 kB / 0.5615 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001313/0.1543, allocations: 0.7524 MB / 0.5622 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.1548, allocations: 162.4 kB / 0.5624 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.1555, allocations: 179.7 kB / 0.5625 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.1601, allocations: 4.85 MB / 0.5673 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.1607, allocations: 39.97 kB / 0.5673 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.1608, allocations: 39.92 kB / 0.5673 GB, free: 6.961 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005991/0.1614, allocations: 317.5 kB / 0.5676 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.1616, allocations: 79.53 kB / 0.5677 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1628, allocations: 0.6395 MB / 0.5683 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1628, allocations: 4 kB / 0.5684 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1628, allocations: 0 / 0.5684 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1628, allocations: 3.984 kB / 0.5684 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.1656, allocations: 1.514 MB / 0.5698 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1656, allocations: 3.938 kB / 0.5698 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.1662, allocations: 119.9 kB / 0.57 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.1663, allocations: 4.188 kB / 0.57 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.1663, allocations: 23.98 kB / 0.57 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1663, allocations: 4 kB / 0.57 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.1663, allocations: 7.875 kB / 0.57 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1677, allocations: 0.9528 MB / 0.5709 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.1681, allocations: 184.7 kB / 0.5711 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.1682, allocations: 19.98 kB / 0.5711 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.1685, allocations: 20.05 kB / 0.5711 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.1686, allocations: 40.33 kB / 0.5712 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1686, allocations: 23.98 kB / 0.5712 GB, free: 2.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005255/0.1692, allocations: 411 kB / 0.5716 GB, free: 2.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.5716 GB, free: 2.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008428/0.17, allocations: 227.9 kB / 0.5718 GB, free: 2.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001917/0.1719, allocations: 1.543 MB / 0.5733 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.1737, allocations: 0.996 MB / 0.5743 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1737, allocations: 0 / 0.5743 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.1741, allocations: 254.2 kB / 0.5745 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.175, allocations: 152.7 kB / 0.5747 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.1864, allocations: 7.137 MB / 0.5816 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/0.1873, allocations: 1.09 MB / 0.5827 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005461/0.1878, allocations: 201.7 kB / 0.5829 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.1883, allocations: 323.3 kB / 0.5832 GB, free: 6.066 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1883, allocations: 4 kB / 0.5832 GB, free: 6.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07195/0.2603, allocations: 16.11 MB / 0.5989 GB, free: 6.094 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.3, allocations: 14.34 kB / 0.599 GB, free: 6.082 MB / 462.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.273675677832216] Failed to read output from testmodel.py, exit status != 0: 11.389230215921998 11.654589098 11.527484001 Calling exit ...