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.0009921/0.000992, allocations: 95.88 kB / 15.69 MB, free: 480 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.001009/0.001009, allocations: 180.3 kB / 16.57 MB, free: 6.855 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.865/1.865, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06045/0.06045, allocations: 14.16 MB / 285.2 MB, free: 7.16 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.0004992/0.0004992, allocations: 12.22 kB / 346.9 MB, free: 19.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 51.12 MB / 398 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004775/0.1081, allocations: 4.589 MB / 402.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.1128, allocations: 2.713 MB / 405.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.1132, allocations: 11.94 kB / 405.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.1138, allocations: 210.8 kB / 405.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.1162, allocations: 1.035 MB / 406.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.1171, allocations: 375 kB / 406.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.1186, allocations: 0.9364 MB / 407.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.1188, allocations: 85.73 kB / 407.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.1193, allocations: 410.6 kB / 408.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005094/0.1198, allocations: 458.3 kB / 408.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.1199, allocations: 32 kB / 408.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.1205, allocations: 239.8 kB / 409 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1206, allocations: 131.4 kB / 409.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1208, allocations: 161.4 kB / 409.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.1216, allocations: 0.7872 MB / 410.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1216, allocations: 4 kB / 410.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1216, allocations: 0 / 410.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1216, allocations: 0 / 410.1 MB, free: 4.488 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.003456/0.1251, allocations: 1.22 MB / 411.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.1252, allocations: 16.02 kB / 411.4 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.1253, allocations: 86.45 kB / 411.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.1258, allocations: 103 kB / 411.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.1267, allocations: 0.5079 MB / 412 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1267, allocations: 49 kB / 412.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.1268, allocations: 67.84 kB / 412.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.1275, allocations: 478.1 kB / 412.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1276, allocations: 0 / 412.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1276, allocations: 16 kB / 412.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1276, allocations: 12 kB / 412.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.1284, allocations: 495.7 kB / 413.1 MB, free: 1.355 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.003975/0.1324, allocations: 2.871 MB / 416 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1336, allocations: 0.7726 MB / 416.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.1337, allocations: 8.562 kB / 416.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1337, allocations: 39.12 kB / 416.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.863e-06/0.1337, allocations: 0 / 416.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004878/0.1386, allocations: 2.047 MB / 418.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1386, allocations: 59.97 kB / 418.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.1392, allocations: 0.5026 MB / 419.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.1393, allocations: 41.7 kB / 419.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1395, allocations: 253.2 kB / 419.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1397, allocations: 232.6 kB / 420 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.1397, allocations: 24 kB / 420 MB, free: 10.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.14, allocations: 374.8 kB / 420.3 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.1407, allocations: 313.9 kB / 420.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.1413, allocations: 397.4 kB / 421 MB, free: 8.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.1419, allocations: 371 kB / 421.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1419, allocations: 0 / 421.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003113/0.145, allocations: 1.271 MB / 422.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.1451, allocations: 8 kB / 422.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1451, allocations: 0 / 422.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.1476, allocations: 0.6145 MB / 423.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.1486, allocations: 219.7 kB / 423.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2556/0.4042, allocations: 10.66 MB / 434.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/0.4051, allocations: 31.81 kB / 434.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.4052, allocations: 32.22 kB / 434.2 MB, free: 32.05 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.0003848/0.4056, allocations: 205.8 kB / 434.4 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4057, allocations: 64.81 kB / 434.5 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.4075, allocations: 0.7919 MB / 435.3 MB, free: 31.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4075, allocations: 6.312 kB / 435.3 MB, free: 31.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4075, allocations: 3.5 kB / 435.3 MB, free: 31.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4075, allocations: 7.469 kB / 435.3 MB, free: 31.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.4102, allocations: 1.56 MB / 436.9 MB, free: 31.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4102, allocations: 3.562 kB / 436.9 MB, free: 31.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.4109, allocations: 134.3 kB / 437 MB, free: 31.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009489/0.4119, allocations: 277.7 kB / 437.3 MB, free: 31.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.4119, allocations: 11.25 kB / 437.3 MB, free: 31.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.4153, allocations: 2.441 MB / 439.7 MB, free: 29.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4154, allocations: 7.688 kB / 439.7 MB, free: 29.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/0.4335, allocations: 8.747 MB / 448.5 MB, free: 24.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.4338, allocations: 183.7 kB / 448.7 MB, free: 24.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.4339, allocations: 18.11 kB / 448.7 MB, free: 24.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.4343, allocations: 16.56 kB / 448.7 MB, free: 24.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.4345, allocations: 44.88 kB / 448.7 MB, free: 24.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4346, allocations: 19.56 kB / 448.8 MB, free: 24.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.4351, allocations: 334 kB / 449.1 MB, free: 23.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4351, allocations: 0.9688 kB / 449.1 MB, free: 23.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001865/0.437, allocations: 346.1 kB / 449.4 MB, free: 23.87 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.002364/0.4393, allocations: 1.718 MB / 451.1 MB, free: 22.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.4421, allocations: 1.67 MB / 452.8 MB, free: 21.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4421, allocations: 3.828 kB / 452.8 MB, free: 21.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4432, allocations: 0.5287 MB / 453.3 MB, free: 21.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.4438, allocations: 87.56 kB / 453.4 MB, free: 21.33 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.004557/0.4484, allocations: 2.97 MB / 456.4 MB, free: 19.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.4489, allocations: 0.9355 MB / 457.3 MB, free: 18.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.4492, allocations: 74.66 kB / 457.4 MB, free: 18.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.4496, allocations: 227.5 kB / 457.6 MB, free: 18.23 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4496, allocations: 0 / 457.6 MB, free: 18.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.4793, allocations: 16.95 MB / 474.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.4796, allocations: 228 kB / 474.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.576, allocations: 0 / 474.8 MB, free: 2.859 MB / 318.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: