Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",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.001072/0.001072, allocations: 96.66 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.001396/0.001396, allocations: 178.4 kB / 16.58 MB, free: 6.848 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.818/1.818, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05737/0.05737, allocations: 14.17 MB / 285.2 MB, free: 7.141 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.0004857/0.0004863, allocations: 12 kB / 348.2 MB, free: 18.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 51.11 MB / 399.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.004357/0.1095, allocations: 4.593 MB / 403.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.1138, allocations: 2.713 MB / 406.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.1144, allocations: 8 kB / 406.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.115, allocations: 202.9 kB / 406.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.1175, allocations: 1.043 MB / 407.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009297/0.1184, allocations: 373.7 kB / 408.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.1202, allocations: 0.9598 MB / 409.2 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.1204, allocations: 74.03 kB / 409.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.121, allocations: 426.6 kB / 409.7 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.1216, allocations: 474.3 kB / 410.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.05e-05/0.1217, allocations: 40 kB / 410.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.1223, allocations: 259.7 kB / 410.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1225, allocations: 135.4 kB / 410.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1226, allocations: 161.3 kB / 410.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007848/0.1234, allocations: 0.8065 MB / 411.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1234, allocations: 0 / 411.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1234, allocations: 0 / 411.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1234, allocations: 0 / 411.5 MB, free: 3.051 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.003284/0.1267, allocations: 1.231 MB / 412.8 MB, free: 1.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1268, allocations: 12.02 kB / 412.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1269, allocations: 82.53 kB / 412.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.1278, allocations: 159 kB / 413 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.1287, allocations: 0.5273 MB / 413.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.1288, allocations: 41 kB / 413.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1289, allocations: 71.91 kB / 413.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.1297, allocations: 474.1 kB / 414.1 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.1297, allocations: 0 / 414.1 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.1298, allocations: 20 kB / 414.1 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1298, allocations: 12 kB / 414.2 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.1307, allocations: 0.4919 MB / 414.6 MB, free: 15.83 MB / 318.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.005413/0.1361, allocations: 2.907 MB / 417.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1375, allocations: 0.7618 MB / 418.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.25e-05/0.1376, allocations: 16.56 kB / 418.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1376, allocations: 39.12 kB / 418.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.1376, allocations: 3.938 kB / 418.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005268/0.1429, allocations: 2.059 MB / 420.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1429, allocations: 59.97 kB / 420.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.1435, allocations: 0.4909 MB / 421 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.1436, allocations: 45.7 kB / 421 MB, free: 8.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1438, allocations: 253.1 kB / 421.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.144, allocations: 236.6 kB / 421.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.144, allocations: 20 kB / 421.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1442, allocations: 378.8 kB / 421.9 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.1447, allocations: 353.8 kB / 422.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.1454, allocations: 421.4 kB / 422.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.146, allocations: 411 kB / 423 MB, free: 6.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.146, allocations: 0 / 423 MB, free: 6.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01132/0.1574, allocations: 1.905 MB / 425 MB, free: 5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.1575, allocations: 275 kB / 425.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1575, allocations: 0 / 425.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/0.1714, allocations: 1.432 MB / 426.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.1724, allocations: 207.7 kB / 426.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2599/0.4323, allocations: 10.32 MB / 437.2 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4334, allocations: 29.59 kB / 437.2 MB, free: 31.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/0.4335, allocations: 34.59 kB / 437.2 MB, free: 31.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4335, allocations: 5.562 kB / 437.2 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003424/0.437, allocations: 1.203 MB / 438.4 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.437, allocations: 5.203 kB / 438.5 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/0.4395, allocations: 0.5881 MB / 439 MB, free: 30.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.4405, allocations: 216.1 kB / 439.3 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008794/0.4493, allocations: 10.64 MB / 449.9 MB, free: 20.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.4502, allocations: 31.83 kB / 449.9 MB, free: 20.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.4502, allocations: 31.61 kB / 450 MB, free: 20.89 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 (87): * Single equations (assignments): 82 * 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: 5 * Mixed (continuous/discrete) equation systems: 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,4 6,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004129/0.4507, allocations: 274.8 kB / 450.2 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4508, allocations: 70.44 kB / 450.3 MB, free: 20.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.4526, allocations: 0.7822 MB / 451.1 MB, free: 20.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4526, allocations: 6.344 kB / 451.1 MB, free: 20.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4526, allocations: 3.781 kB / 451.1 MB, free: 20.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4526, allocations: 3.984 kB / 451.1 MB, free: 20.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.4554, allocations: 1.563 MB / 452.7 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4554, allocations: 0 / 452.7 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.4561, allocations: 134 kB / 452.8 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009365/0.457, allocations: 271.7 kB / 453.1 MB, free: 19.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.4571, allocations: 17.62 kB / 453.1 MB, free: 19.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.4605, allocations: 2.451 MB / 455.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4606, allocations: 0 / 455.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.4764, allocations: 8.752 MB / 464.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.4767, allocations: 187.4 kB / 464.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.4768, allocations: 11.91 kB / 464.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.4772, allocations: 25.86 kB / 464.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4774, allocations: 44.22 kB / 464.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4774, allocations: 15.81 kB / 464.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.4777, allocations: 333.1 kB / 464.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4777, allocations: 0 / 464.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002065/0.4798, allocations: 0.6296 MB / 465.5 MB, free: 11.43 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.001948/0.4818, allocations: 1.725 MB / 467.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004583/0.4864, allocations: 3 MB / 470.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4864, allocations: 4 kB / 470.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.4873, allocations: 0.5211 MB / 470.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.4878, allocations: 70.14 kB / 470.8 MB, free: 6.574 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.003887/0.4917, allocations: 3.026 MB / 473.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4922, allocations: 0.9478 MB / 474.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004382/0.4926, allocations: 88.77 kB / 474.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.4929, allocations: 215.4 kB / 475.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4929, allocations: 0 / 475.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.5395, allocations: 23.87 MB / 499 MB, free: 10.41 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.5397, allocations: 257.4 kB / 499.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.917, allocations: 0 / 499.2 MB, free: 10.14 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe 2>&1) Environment - environmentSimulation: