Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_symb_jac_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.0008915/0.0008917, allocations: 87.69 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 174.2 kB / 16.58 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06289/0.06288, allocations: 14.16 MB / 285.2 MB, free: 7.375 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.0006022/0.0006022, allocations: 16 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 51.12 MB / 398 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.005497/0.1224, allocations: 4.911 MB / 402.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.1277, allocations: 2.736 MB / 405.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.1283, allocations: 8 kB / 405.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.129, allocations: 210.9 kB / 405.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.1314, allocations: 0.9745 MB / 406.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009979/0.1324, allocations: 383.1 kB / 407.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.1344, allocations: 1.324 MB / 408.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.1346, allocations: 77.73 kB / 408.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.1351, allocations: 398.4 kB / 409 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.1357, allocations: 458.1 kB / 409.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.095e-05/0.1358, allocations: 36 kB / 409.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.1365, allocations: 255.8 kB / 409.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1367, allocations: 127.4 kB / 409.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1368, allocations: 161.3 kB / 410 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.1378, allocations: 0.799 MB / 410.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.1378, allocations: 4 kB / 410.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1378, allocations: 3.938 kB / 410.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1378, allocations: 0 / 410.8 MB, free: 3.789 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.003075/0.1409, allocations: 1.227 MB / 412.1 MB, free: 2.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1409, allocations: 12.02 kB / 412.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.1411, allocations: 86.52 kB / 412.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.1414, allocations: 103 kB / 412.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.1423, allocations: 0.5195 MB / 412.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.1424, allocations: 41 kB / 412.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1425, allocations: 67.91 kB / 412.9 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008525/0.1433, allocations: 482 kB / 413.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1434, allocations: 0 / 413.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.1434, allocations: 20 kB / 413.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1434, allocations: 12 kB / 413.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.1443, allocations: 491.7 kB / 413.9 MB, free: 0.6445 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.004141/0.1484, allocations: 2.871 MB / 416.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.1497, allocations: 0.7767 MB / 417.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.1501, allocations: 234.5 kB / 417.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.1501, allocations: 8.562 kB / 417.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1502, allocations: 39.12 kB / 417.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 3.667e-06/0.1502, allocations: 0 / 417.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005418/0.1556, allocations: 2.089 MB / 419.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1557, allocations: 67.91 kB / 420 MB, free: 10.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.1566, allocations: 0.4987 MB / 420.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.1567, allocations: 37.7 kB / 420.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.157, allocations: 261.2 kB / 420.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.1573, allocations: 228.6 kB / 421 MB, free: 9.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.1574, allocations: 16 kB / 421 MB, free: 9.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.1577, allocations: 374.8 kB / 421.3 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/0.1583, allocations: 325.9 kB / 421.7 MB, free: 8.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.1591, allocations: 393.4 kB / 422 MB, free: 7.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.1599, allocations: 374.9 kB / 422.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1599, allocations: 4 kB / 422.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002992/0.1629, allocations: 1.275 MB / 423.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.1629, allocations: 8 kB / 423.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1629, allocations: 0 / 423.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.1653, allocations: 0.6067 MB / 424.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.1662, allocations: 223.7 kB / 424.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2496/0.4158, allocations: 10.57 MB / 435.1 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.4166, allocations: 33.62 kB / 435.1 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.4166, allocations: 29.59 kB / 435.2 MB, free: 23.32 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.0003113/0.417, allocations: 206 kB / 435.4 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4171, allocations: 67.22 kB / 435.4 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.419, allocations: 0.7795 MB / 436.2 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.419, allocations: 6.219 kB / 436.2 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.419, allocations: 6.734 kB / 436.2 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.419, allocations: 7.266 kB / 436.2 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.4218, allocations: 1.568 MB / 437.8 MB, free: 22.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4219, allocations: 0 / 437.8 MB, free: 22.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.4225, allocations: 139.1 kB / 437.9 MB, free: 22.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009095/0.4235, allocations: 271 kB / 438.2 MB, free: 22.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.4235, allocations: 16.86 kB / 438.2 MB, free: 22.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.4267, allocations: 2.385 MB / 440.6 MB, free: 21.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4267, allocations: 2.531 kB / 440.6 MB, free: 21.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.4423, allocations: 8.158 MB / 448.8 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.4428, allocations: 185.5 kB / 448.9 MB, free: 18.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.4428, allocations: 12.52 kB / 448.9 MB, free: 18.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.4432, allocations: 19.42 kB / 449 MB, free: 18.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.4435, allocations: 46.92 kB / 449 MB, free: 18.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.4436, allocations: 15.95 kB / 449 MB, free: 18.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006386/0.4442, allocations: 335.1 kB / 449.4 MB, free: 17.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4442, allocations: 0 / 449.4 MB, free: 17.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002164/0.4464, allocations: 349 kB / 449.7 MB, free: 17.91 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.002583/0.449, allocations: 1.722 MB / 451.4 MB, free: 16.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.4517, allocations: 1.673 MB / 453.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4517, allocations: 1.375 kB / 453.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.4528, allocations: 0.5253 MB / 453.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.4536, allocations: 91.05 kB / 453.7 MB, free: 15.42 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.00894/0.4625, allocations: 5.212 MB / 458.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4629, allocations: 0.9245 MB / 459.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.4633, allocations: 65.36 kB / 459.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.4636, allocations: 220.1 kB / 460.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4636, allocations: 3.531 kB / 460.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.4952, allocations: 17.4 MB / 477.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.4955, allocations: 237.5 kB / 477.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.793, allocations: 3.516 kB / 477.8 MB, free: 11.57 MB / 334.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1) Environment - environmentSimulation: