Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_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.0008226/0.0008229, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008623/0.0008625, allocations: 172.7 kB / 15.95 MB, free: 208 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05759/0.05759, allocations: 14.18 MB / 284.6 MB, free: 6.996 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.0005185/0.0005186, allocations: 12 kB / 347.6 MB, free: 18.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08309, allocations: 51.13 MB / 398.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.004283/0.08742, allocations: 4.907 MB / 403.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.09131, allocations: 2.728 MB / 406.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.09167, allocations: 11.94 kB / 406.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.09221, allocations: 214.9 kB / 406.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.0942, allocations: 0.9719 MB / 407.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.09491, allocations: 382.4 kB / 407.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.09626, allocations: 1.351 MB / 409.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.09644, allocations: 78.02 kB / 409.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.09686, allocations: 410.3 kB / 409.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.09734, allocations: 478.2 kB / 410.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.408e-05/0.09743, allocations: 40 kB / 410.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000567/0.098, allocations: 267.7 kB / 410.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.09812, allocations: 135.4 kB / 410.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.09826, allocations: 161.3 kB / 410.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007391/0.099, allocations: 0.8336 MB / 411.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09902, allocations: 0 / 411.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09902, allocations: 0 / 411.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.09904, allocations: 4 kB / 411.7 MB, free: 2.273 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.00295/0.102, allocations: 1.22 MB / 412.9 MB, free: 1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.102, allocations: 19.89 kB / 412.9 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/0.1021, allocations: 90.52 kB / 413 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.103, allocations: 147 kB / 413.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.1038, allocations: 0.5273 MB / 413.6 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.1039, allocations: 49 kB / 413.7 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.104, allocations: 67.84 kB / 413.8 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.1048, allocations: 478.1 kB / 414.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1048, allocations: 0 / 414.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.1049, allocations: 20 kB / 414.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1049, allocations: 12 kB / 414.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.1057, allocations: 495.7 kB / 414.7 MB, free: 15.07 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.004669/0.1104, allocations: 2.91 MB / 417.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.1116, allocations: 0.7725 MB / 418.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.112, allocations: 234.5 kB / 418.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/0.112, allocations: 8.562 kB / 418.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1121, allocations: 35.12 kB / 418.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.1121, allocations: 4 kB / 418.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005074/0.1172, allocations: 2.094 MB / 420.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1172, allocations: 59.97 kB / 420.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.1178, allocations: 0.4948 MB / 421.4 MB, free: 7.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.1179, allocations: 45.7 kB / 421.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.118, allocations: 249.2 kB / 421.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.1182, allocations: 236.6 kB / 421.9 MB, free: 7.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.1183, allocations: 20 kB / 421.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1184, allocations: 374.8 kB / 422.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.119, allocations: 353.8 kB / 422.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.1196, allocations: 429.4 kB / 423 MB, free: 6.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.1202, allocations: 407 kB / 423.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1202, allocations: 0 / 423.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01053/0.1308, allocations: 1.909 MB / 425.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.1309, allocations: 114.7 kB / 425.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1309, allocations: 0 / 425.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/0.1437, allocations: 1.44 MB / 426.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/0.1446, allocations: 195.8 kB / 427.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1737/0.3183, allocations: 10.08 MB / 437.2 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/0.3191, allocations: 34.38 kB / 437.2 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.3191, allocations: 33.53 kB / 437.2 MB, free: 23.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.3192, allocations: 7.656 kB / 437.2 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002854/0.322, allocations: 1.197 MB / 438.4 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.322, allocations: 1.281 kB / 438.4 MB, free: 23.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.3244, allocations: 0.5916 MB / 439 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3254, allocations: 229.7 kB / 439.2 MB, free: 23.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008249/0.3337, allocations: 10.55 MB / 449.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.3344, allocations: 31.55 kB / 449.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.3345, allocations: 29.16 kB / 449.9 MB, free: 14.24 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.0003415/0.3348, allocations: 277.6 kB / 450.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.3349, allocations: 65.69 kB / 450.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.3366, allocations: 0.7832 MB / 451 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3366, allocations: 6.656 kB / 451 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3366, allocations: 3.031 kB / 451 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.3367, allocations: 6.906 kB / 451 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.3391, allocations: 1.56 MB / 452.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.3392, allocations: 0 / 452.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.3398, allocations: 138.1 kB / 452.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008141/0.3406, allocations: 271.6 kB / 453 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.3406, allocations: 17.88 kB / 453 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.3435, allocations: 2.389 MB / 455.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3435, allocations: 3.953 kB / 455.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3454, allocations: 1.124 MB / 456.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.3458, allocations: 186.3 kB / 456.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.3458, allocations: 15.73 kB / 456.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.3462, allocations: 19.31 kB / 456.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3464, allocations: 50.39 kB / 456.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3464, allocations: 19.28 kB / 456.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004546/0.3469, allocations: 334.4 kB / 457.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3469, allocations: 1.219 kB / 457.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00219/0.3491, allocations: 463.4 kB / 457.5 MB, free: 10.77 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.002266/0.3513, allocations: 1.719 MB / 459.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004768/0.3561, allocations: 3 MB / 462.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3561, allocations: 4 kB / 462.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.357, allocations: 0.5241 MB / 462.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.3577, allocations: 87.36 kB / 462.9 MB, free: 7.422 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.01518/0.3729, allocations: 5.257 MB / 468.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3732, allocations: 0.9201 MB / 469.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.3737, allocations: 76.78 kB / 469.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.3739, allocations: 215.4 kB / 469.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3739, allocations: 0 / 469.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.413, allocations: 22.41 MB / 491.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.4133, allocations: 236.1 kB / 492 MB, free: 12.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.737, allocations: 3.938 kB / 492 MB, free: 12.84 MB / 350.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe 2>&1) Environment - environmentSimulation: