Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 105.2 kB / 17.74 MB, free: 5.312 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.001659/0.001659, allocations: 188.3 kB / 18.67 MB, free: 4.395 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.272/1.272, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1745/0.1745, allocations: 37.99 MB / 309.9 MB, free: 5.945 MB / 254.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.001398/0.001398, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08667, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005074/0.09177, allocations: 4.413 MB / 492.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.09379, allocations: 1.461 MB / 493.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.09394, allocations: 15.94 kB / 493.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009699/0.09492, allocations: 374.5 kB / 494 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.09539, allocations: 250.8 kB / 494.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.09592, allocations: 247.4 kB / 494.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.09644, allocations: 0.5612 MB / 495.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.09683, allocations: 289 kB / 495.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.09713, allocations: 259 kB / 495.6 MB, free: 476 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.09757, allocations: 351 kB / 496 MB, free: 124 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.09765, allocations: 40 kB / 496 MB, free: 84 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.09803, allocations: 227.6 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.09825, allocations: 239.5 kB / 496.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.09851, allocations: 262.7 kB / 496.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.09917, allocations: 0.6659 MB / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09918, allocations: 0 / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.09919, allocations: 0 / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.0992, allocations: 4 kB / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001229/0.1004, allocations: 0.7739 MB / 498.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1005, allocations: 15.88 kB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.101, allocations: 88.23 kB / 498.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/0.1017, allocations: 427.1 kB / 498.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1018, allocations: 29.38 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1019, allocations: 52.09 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.1028, allocations: 0.6842 MB / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1028, allocations: 0 / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.1029, allocations: 16 kB / 499.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.1031, allocations: 44.97 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/0.104, allocations: 0.6713 MB / 0.4884 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.1073, allocations: 2.513 MB / 0.4909 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.1078, allocations: 341.3 kB / 0.4912 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.1081, allocations: 221.7 kB / 0.4914 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1081, allocations: 12.25 kB / 0.4915 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1082, allocations: 38.48 kB / 0.4915 GB, free: 8.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.1082, allocations: 4 kB / 0.4915 GB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001935/0.1101, allocations: 1.353 MB / 0.4928 GB, free: 7.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1102, allocations: 81.11 kB / 0.4929 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1105, allocations: 296.5 kB / 0.4932 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1105, allocations: 33.7 kB / 0.4932 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1107, allocations: 259.5 kB / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.1108, allocations: 154 kB / 0.4936 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.1109, allocations: 94.16 kB / 0.4937 GB, free: 6.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1111, allocations: 354.7 kB / 0.494 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.1113, allocations: 197 kB / 0.4942 GB, free: 5.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.1117, allocations: 373 kB / 0.4946 GB, free: 5.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.1124, allocations: 0.6019 MB / 0.4952 GB, free: 4.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.1125, allocations: 4 kB / 0.4952 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009094/0.1134, allocations: 0.6263 MB / 0.4958 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1134, allocations: 8 kB / 0.4958 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1134, allocations: 4 kB / 0.4958 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1135, allocations: 8.688 kB / 0.4958 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.1139, allocations: 119.8 kB / 0.4959 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.1139, allocations: 19.92 kB / 0.4959 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1142, allocations: 15.98 kB / 0.4959 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.1142, allocations: 24 kB / 0.496 GB, free: 3.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.1145, allocations: 213.6 kB / 0.4962 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.1146, allocations: 43.45 kB / 0.4962 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/0.1154, allocations: 0.4966 MB / 0.4967 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1154, allocations: 0 / 0.4967 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1154, allocations: 4 kB / 0.4967 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.1155, allocations: 108.6 kB / 0.4968 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.1155, allocations: 11.98 kB / 0.4968 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.1157, allocations: 15.92 kB / 0.4968 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1158, allocations: 23.97 kB / 0.4969 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009892/0.1168, allocations: 0.6605 MB / 0.4975 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001076/0.1179, allocations: 0.9756 MB / 0.4984 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002663/0.1182, allocations: 224.2 kB / 0.4987 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1184, allocations: 211 kB / 0.4989 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of Backend: time 5.91e-07/0.1184, allocations: 4.031 kB / 0.4989 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1194, allocations: 494 kB / 0.4993 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 0.001616/0.121, allocations: 1.389 MB / 0.5007 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Templates: time 0.009809/0.1309, allocations: 5.62 MB / 0.5062 GB, free: 9.066 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)