Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001704, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009188/0.0009187, allocations: 92.17 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09554/0.09554, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.92 kB / 391.7 MB, free: 64.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.09488, allocations: 50.14 MB / 441.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.007021/0.102, allocations: 10 MB / 451.8 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.1075, allocations: 4.526 MB / 456.3 MB, free: 96 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.1083, allocations: 91.44 kB / 456.4 MB, free: 4 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1094, allocations: 438 kB / 456.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003694/0.1131, allocations: 1.71 MB / 458.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1146, allocations: 0.7868 MB / 459.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002977/0.1175, allocations: 2.83 MB / 462.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.1178, allocations: 166.6 kB / 462.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.1193, allocations: 1.136 MB / 463.5 MB, free: 8.934 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/0.1202, allocations: 0.86 MB / 464.3 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1204, allocations: 52 kB / 464.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.1213, allocations: 347.7 kB / 464.7 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1215, allocations: 202.9 kB / 464.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.1221, allocations: 0.6994 MB / 465.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.124, allocations: 1.721 MB / 467.3 MB, free: 5.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.124, allocations: 7.984 kB / 467.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.124, allocations: 0 / 467.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.124, allocations: 0 / 467.3 MB, free: 5.043 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.005265/0.1293, allocations: 2.178 MB / 469.5 MB, free: 2.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1294, allocations: 8.031 kB / 469.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.1305, allocations: 247 kB / 469.8 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-06/0.1305, allocations: 8.109 kB / 469.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.1306, allocations: 90.38 kB / 469.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.1308, allocations: 112.3 kB / 470 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.1324, allocations: 0.9803 MB / 470.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1324, allocations: 4.188 kB / 471 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.1325, allocations: 43.94 kB / 471 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.1325, allocations: 24 kB / 471 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.1341, allocations: 0.9916 MB / 472 MB, free: 296 kB / 314.7 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.008843/0.143, allocations: 6.68 MB / 478.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1448, allocations: 1.447 MB / 480.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.1454, allocations: 360.4 kB / 480.5 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.1455, allocations: 20.98 kB / 480.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1455, allocations: 39.56 kB / 480.5 MB, free: 6.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 3.025e-06/0.1455, allocations: 3.938 kB / 480.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=107): time 0.006417/0.1519, allocations: 2.777 MB / 483.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.152, allocations: 68.39 kB / 483.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.1528, allocations: 0.7741 MB / 484.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.1529, allocations: 49.7 kB / 484.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.1533, allocations: 0.5195 MB / 484.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.1536, allocations: 390.4 kB / 485.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.154, allocations: 279.4 kB / 485.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1541, allocations: 357.9 kB / 485.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.1548, allocations: 452.7 kB / 486.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/0.1558, allocations: 0.7667 MB / 486.9 MB, free: 156 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1609/0.3167, allocations: 1.169 MB / 488.1 MB, free: 48.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3167, allocations: 2.75 kB / 488.1 MB, free: 48.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01234/0.3291, allocations: 2.537 MB / 490.7 MB, free: 47.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.3291, allocations: 12.38 kB / 490.7 MB, free: 47.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.3292, allocations: 9.422 kB / 490.7 MB, free: 47.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008052/0.3372, allocations: 0.9713 MB / 491.7 MB, free: 47.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3385, allocations: 335.3 kB / 492 MB, free: 47.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.3542, allocations: 10.35 MB / 0.4906 GB, free: 39.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.3552, allocations: 44.06 kB / 0.4906 GB, free: 39.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/0.3553, allocations: 62.42 kB / 0.4907 GB, free: 39.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008877/0.3562, allocations: 0.6043 MB / 0.4913 GB, free: 39.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007546/0.357, allocations: 0.7306 MB / 0.492 GB, free: 38.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.3583, allocations: 1.131 MB / 0.4931 GB, free: 38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.3583, allocations: 3.938 kB / 0.4931 GB, free: 38 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization_lambda0): time 0.003495/0.3618, allocations: 1.914 MB / 0.4949 GB, free: 37.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3618, allocations: 8.906 kB / 0.4949 GB, free: 37.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.3618, allocations: 9.844 kB / 0.495 GB, free: 37.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.364, allocations: 0.5175 MB / 0.4955 GB, free: 36.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3652, allocations: 362 kB / 0.4958 GB, free: 36.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007924/0.3732, allocations: 10.97 MB / 0.5065 GB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.3741, allocations: 43.38 kB / 0.5066 GB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.3742, allocations: 57.78 kB / 0.5066 GB, free: 26.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (161): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,14), (4,6), (4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.3745, allocations: 268.7 kB / 0.5069 GB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.3746, allocations: 116.3 kB / 0.507 GB, free: 26.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.3769, allocations: 1.067 MB / 0.508 GB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.3769, allocations: 8.656 kB / 0.508 GB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3769, allocations: 0.5312 kB / 0.508 GB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.3772, allocations: 243 kB / 0.5083 GB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3773, allocations: 16.25 kB / 0.5083 GB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.3778, allocations: 25.06 kB / 0.5083 GB, free: 25.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.378, allocations: 78.03 kB / 0.5084 GB, free: 25.56 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002267/0.3802, allocations: 1.098 MB / 0.5095 GB, free: 25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006102/0.3863, allocations: 5.032 MB / 0.5144 GB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003499/0.3867, allocations: 308.4 kB / 0.5147 GB, free: 20.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004156/0.3871, allocations: 0.493 MB / 0.5151 GB, free: 19.9 MB / 330.7 MB Notification: Performance of Backend: time 5.51e-07/0.3871, allocations: 0 / 0.5151 GB, free: 19.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005216/0.3924, allocations: 3.516 MB / 0.5186 GB, free: 16.27 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.003506/0.3959, allocations: 4.45 MB / 0.5229 GB, free: 11.76 MB / 330.7 MB Notification: Performance of Templates: time 0.03753/0.4334, allocations: 27.8 MB / 0.5501 GB, free: 16 kB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe 2>&1)