Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 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.001349/0.001349, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1574/0.1574, allocations: 16.79 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.89 kB / 371.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.242, allocations: 53.55 MB / 425.3 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF): time 0.06803/0.3101, allocations: 101.4 MB / 0.5144 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04123/0.3514, allocations: 23.37 MB / 0.5372 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.3619, allocations: 199 kB / 0.5374 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00961/0.3716, allocations: 3.182 MB / 0.5405 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02569/0.3973, allocations: 9.183 MB / 0.5495 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.409, allocations: 4.968 MB / 0.5544 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02471/0.4337, allocations: 21.39 MB / 0.5753 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1865/0.6203, allocations: 3.73 MB / 0.5789 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009016/0.6293, allocations: 7.134 MB / 0.5859 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009223/0.6386, allocations: 7.664 MB / 0.5933 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002601/0.6412, allocations: 1.009 MB / 0.5943 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006025/0.6472, allocations: 2.056 MB / 0.5963 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.6487, allocations: 2.394 MB / 0.5987 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009675/0.6584, allocations: 6.871 MB / 0.6054 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.6758, allocations: 15.96 MB / 0.621 GB, free: 19.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6758, allocations: 0 / 0.621 GB, free: 19.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6758, allocations: 1.281 kB / 0.621 GB, free: 19.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003626/0.6762, allocations: 0 / 0.621 GB, free: 19.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2013 * Number of variables: 2013 Notification: Performance of Generate backend data structure: time 0.05594/0.7321, allocations: 16.49 MB / 0.6371 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.7322, allocations: 7.656 kB / 0.6371 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.7472, allocations: 2.706 MB / 0.6397 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.7615, allocations: 6.867 MB / 0.6464 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.7619, allocations: 0.6413 MB / 0.6471 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.7634, allocations: 0.8684 MB / 0.6479 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.7745, allocations: 9.388 MB / 0.6571 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.7746, allocations: 50.47 kB / 0.6571 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000755/0.7754, allocations: 360 kB / 0.6575 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.555e-05/0.7755, allocations: 216 kB / 0.6577 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.788, allocations: 7.54 MB / 0.665 GB, free: 9.031 MB / 462.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.08224/0.8702, allocations: 63.06 MB / 0.7266 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.8826, allocations: 8.51 MB / 0.7349 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.8866, allocations: 2.687 MB / 0.7375 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.887, allocations: 105 kB / 0.7376 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.8871, allocations: 133.5 kB / 0.7378 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=708): time 9.027e-06/0.8871, allocations: 0 / 0.7378 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=708): time 0.03604/0.9232, allocations: 12.86 MB / 0.7503 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.9233, allocations: 258.4 kB / 0.7506 GB, free: 14.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/0.9414, allocations: 8.724 MB / 0.7591 GB, free: 5.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001794/0.9432, allocations: 193.7 kB / 0.7593 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004808/0.9481, allocations: 4.39 MB / 0.7636 GB, free: 1.406 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.1756/1.124, allocations: 2.822 MB / 0.7663 GB, free: 207.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007307/1.131, allocations: 4.29 MB / 0.7705 GB, free: 207.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/1.131, allocations: 302.1 kB / 0.7708 GB, free: 207.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008582/1.14, allocations: 6.203 MB / 0.7769 GB, free: 207.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009545/1.149, allocations: 8.403 MB / 0.7851 GB, free: 206 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.165, allocations: 11.94 MB / 0.7967 GB, free: 199.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.746e-05/1.165, allocations: 8.75 kB / 0.7967 GB, free: 199.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=3041) (initialization): time 0.03881/1.204, allocations: 20.44 MB / 0.8167 GB, free: 191.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/1.204, allocations: 15.12 kB / 0.8167 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.317e-05/1.204, allocations: 29.94 kB / 0.8167 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02366/1.228, allocations: 4.163 MB / 0.8208 GB, free: 190.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/1.246, allocations: 4.774 MB / 0.8255 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03447/1.28, allocations: 53.25 MB / 0.8775 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/1.297, allocations: 1.563 MB / 0.879 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.299, allocations: 0.7316 MB / 0.8797 GB, free: 130.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 12 (loadPQ3.componentPF.isSlackBus,machine3.componentPF.isSlackBus,bus3.componentPF.isSlackBus,refBus3.componentPF.isSlackBus,bus2.componentPF.isSlackBus,refBus2.componentPF.isSlackBus,LoadPQ2.componentPF.isSlackBus,machine2.componentPF.isSlackBus,bus1.componentPF.isSlackBus,refBus1.componentPF.isSlackBus,LoadPQ1.componentPF.isSlackBus,machine1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2937): * Single equations (assignments): 2905 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 32 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 18 systems {(6,0), (15,0), (2,0), (2,0), (2,0), (2,0), (6,0), (17,0), (2,0), (2,0), (2,0), (2,0), (21,0), (19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003862/1.303, allocations: 1.991 MB / 0.8817 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/1.305, allocations: 0.9796 MB / 0.8826 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.316, allocations: 7.422 MB / 0.8899 GB, free: 120.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-05/1.316, allocations: 36.31 kB / 0.8899 GB, free: 120.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.316, allocations: 0 / 0.8899 GB, free: 120.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004774/1.321, allocations: 1.979 MB / 0.8918 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.322, allocations: 115.3 kB / 0.8919 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006381/1.329, allocations: 320.5 kB / 0.8922 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006852/1.329, allocations: 0.5104 MB / 0.8927 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01347/1.343, allocations: 7.634 MB / 0.9002 GB, free: 111.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01106/1.354, allocations: 8.793 MB / 0.9088 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002375/1.356, allocations: 2.207 MB / 0.9109 GB, free: 101.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006839/1.363, allocations: 5.201 MB / 0.916 GB, free: 97.29 MB / 0.545 GB Notification: Performance of Backend: time 4.1e-07/1.363, allocations: 0 / 0.916 GB, free: 97.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02945/1.393, allocations: 17.12 MB / 0.9327 GB, free: 80.36 MB / 0.545 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.02794/1.421, allocations: 17.46 MB / 0.9498 GB, free: 63 MB / 0.545 GB Notification: Performance of Templates: time 0.3595/1.78, allocations: 141.1 MB / 1.088 GB, free: 158.4 MB / 0.545 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPF.pipe 2>&1)