Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.00111, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05977/0.05977, allocations: 14.16 MB / 284.5 MB, free: 7.145 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006133/0.0006133, allocations: 20.2 kB / 346.2 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1166, allocations: 51.11 MB / 397.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004947/0.1216, allocations: 4.596 MB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.1263, allocations: 2.705 MB / 404.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.1267, allocations: 11.94 kB / 404.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.1273, allocations: 218.8 kB / 404.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.1298, allocations: 1.038 MB / 405.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.1307, allocations: 371.1 kB / 406.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1321, allocations: 0.948 MB / 407.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1323, allocations: 73.75 kB / 407.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.1328, allocations: 414.6 kB / 407.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.1333, allocations: 450.4 kB / 408.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.1333, allocations: 36 kB / 408.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.1339, allocations: 235.8 kB / 408.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1341, allocations: 131.4 kB / 408.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1342, allocations: 161.3 kB / 408.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.135, allocations: 0.7911 MB / 409.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.135, allocations: 0 / 409.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.135, allocations: 0 / 409.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1351, allocations: 4 kB / 409.5 MB, free: 4.461 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003172/0.1382, allocations: 1.22 MB / 410.7 MB, free: 3.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.1383, allocations: 12.02 kB / 410.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.1384, allocations: 86.52 kB / 410.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.1388, allocations: 111 kB / 410.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.1397, allocations: 0.504 MB / 411.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.1397, allocations: 45 kB / 411.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.1398, allocations: 67.91 kB / 411.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/0.1406, allocations: 482 kB / 412 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1406, allocations: 0 / 412 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.1407, allocations: 16 kB / 412 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1407, allocations: 12 kB / 412 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.1415, allocations: 495.7 kB / 412.5 MB, free: 1.328 MB / 302.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.00439/0.1459, allocations: 2.875 MB / 415.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.1472, allocations: 0.7764 MB / 416.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.1473, allocations: 12.56 kB / 416.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1473, allocations: 35.12 kB / 416.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.854e-06/0.1473, allocations: 0 / 416.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.0052/0.1525, allocations: 2.055 MB / 418.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.1526, allocations: 59.97 kB / 418.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005873/0.1532, allocations: 0.4948 MB / 418.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.1533, allocations: 41.7 kB / 418.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.1535, allocations: 257.2 kB / 419.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.1537, allocations: 228.6 kB / 419.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1538, allocations: 20 kB / 419.3 MB, free: 10 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1539, allocations: 378.8 kB / 419.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.1545, allocations: 317.9 kB / 420 MB, free: 9.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.1551, allocations: 393.4 kB / 420.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.1557, allocations: 367 kB / 420.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1557, allocations: 0 / 420.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002938/0.1586, allocations: 1.279 MB / 422 MB, free: 7.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1587, allocations: 4 kB / 422 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1587, allocations: 0 / 422 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.1611, allocations: 0.6067 MB / 422.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.1621, allocations: 227.6 kB / 422.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.245/0.4071, allocations: 10.67 MB / 433.5 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4082, allocations: 35.12 kB / 433.6 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4083, allocations: 30.2 kB / 433.6 MB, free: 32.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005227/0.4089, allocations: 201.6 kB / 433.8 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.409, allocations: 67.84 kB / 433.9 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.4111, allocations: 0.7913 MB / 434.7 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4112, allocations: 6.594 kB / 434.7 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.4112, allocations: 3.438 kB / 434.7 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.4112, allocations: 7.234 kB / 434.7 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.4146, allocations: 1.559 MB / 436.2 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4146, allocations: 0 / 436.2 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.4154, allocations: 137.7 kB / 436.4 MB, free: 31.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009743/0.4163, allocations: 269.6 kB / 436.6 MB, free: 31.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.4164, allocations: 12.52 kB / 436.6 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.4199, allocations: 2.443 MB / 439.1 MB, free: 29.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4199, allocations: 5.312 kB / 439.1 MB, free: 29.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.4223, allocations: 1.122 MB / 440.2 MB, free: 28.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.4226, allocations: 178.9 kB / 440.4 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.4227, allocations: 15.12 kB / 440.4 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.4231, allocations: 40.34 kB / 440.4 MB, free: 28.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.4233, allocations: 42.78 kB / 440.5 MB, free: 28.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.4233, allocations: 15.92 kB / 440.5 MB, free: 28.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.4239, allocations: 331.1 kB / 440.8 MB, free: 28.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4239, allocations: 0 / 440.8 MB, free: 28.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001252/0.4251, allocations: 260.8 kB / 441.1 MB, free: 28.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002568/0.4277, allocations: 1.719 MB / 442.8 MB, free: 27.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.4308, allocations: 1.674 MB / 444.5 MB, free: 26.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4308, allocations: 0 / 444.5 MB, free: 26.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4319, allocations: 0.5284 MB / 445 MB, free: 25.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.4327, allocations: 79.98 kB / 445.1 MB, free: 25.95 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.4359, allocations: 2.297 MB / 447.4 MB, free: 24.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.4364, allocations: 0.9178 MB / 448.3 MB, free: 23.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.4368, allocations: 71.58 kB / 448.4 MB, free: 23.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.4371, allocations: 222.2 kB / 448.6 MB, free: 23.43 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4371, allocations: 0 / 448.6 MB, free: 23.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.4687, allocations: 14.98 MB / 463.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.4689, allocations: 221.5 kB / 463.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.591, allocations: 0 / 463.8 MB, free: 13.52 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1) Environment - environmentSimulation: