Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001715/0.001715, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09388/0.09389, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 435.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09126, allocations: 54.94 MB / 490.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002653/0.09395, allocations: 1.681 MB / 492.2 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.09474, allocations: 459.1 kB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.09484, allocations: 3.938 kB / 492.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.0949, allocations: 15.86 kB / 492.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.0951, allocations: 31.78 kB / 492.7 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.88e-05/0.09522, allocations: 23.91 kB / 492.7 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.09541, allocations: 127.5 kB / 492.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.09554, allocations: 25.44 kB / 492.9 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.09566, allocations: 59.72 kB / 493 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.09578, allocations: 51.75 kB / 493 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.09581, allocations: 8 kB / 493 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.09584, allocations: 12 kB / 493 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.09587, allocations: 19.86 kB / 493 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.09593, allocations: 55.67 kB / 493.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.09608, allocations: 103.5 kB / 493.2 MB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09609, allocations: 0 / 493.2 MB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0961, allocations: 0 / 493.2 MB, free: 4.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.09611, allocations: 0 / 493.2 MB, free: 4.203 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005939/0.09671, allocations: 430.9 kB / 493.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.09675, allocations: 8.031 kB / 493.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.09681, allocations: 16.84 kB / 493.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.09705, allocations: 208.7 kB / 493.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.09708, allocations: 12.12 kB / 493.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.09711, allocations: 12 kB / 493.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.09726, allocations: 85.56 kB / 494 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.09728, allocations: 0 / 494 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.09729, allocations: 0 / 494 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.0973, allocations: 4 kB / 494 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.0974, allocations: 49.95 kB / 494 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.09799, allocations: 372.6 kB / 494.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.09831, allocations: 183.6 kB / 494.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.09839, allocations: 45.06 kB / 494.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.09842, allocations: 7.938 kB / 494.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.09844, allocations: 30.56 kB / 494.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.855e-06/0.09845, allocations: 7.922 kB / 494.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007619/0.09922, allocations: 455 kB / 495.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.09926, allocations: 51.41 kB / 495.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.0994, allocations: 160.1 kB / 495.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.09942, allocations: 25.7 kB / 495.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.0995, allocations: 116.2 kB / 495.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.09953, allocations: 39.64 kB / 495.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.09959, allocations: 37.7 kB / 495.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.09969, allocations: 322.8 kB / 495.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.09976, allocations: 31.98 kB / 495.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.09983, allocations: 54.56 kB / 495.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.1003, allocations: 181.3 kB / 496.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1003, allocations: 0 / 496.1 MB, free: 1.016 MB / 366.1 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ G.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004578/0.1008, allocations: 357 kB / 496.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1008, allocations: 4 kB / 496.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1008, allocations: 0 / 496.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.101, allocations: 49.69 kB / 496.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1011, allocations: 31.92 kB / 496.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.1036, allocations: 4.636 MB / 0.4894 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.1037, allocations: 8.031 kB / 0.4894 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1037, allocations: 4 kB / 0.4894 GB, free: 11.54 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = "rad" fixed = true ) "generator angle wrt port" type: Real 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.1038, allocations: 134.4 kB / 0.4895 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.1039, allocations: 19.84 kB / 0.4896 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.1039, allocations: 12.72 kB / 0.4896 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1039, allocations: 3.984 kB / 0.4896 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1039, allocations: 4.062 kB / 0.4896 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.104, allocations: 85.06 kB / 0.4897 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.104, allocations: 7.938 kB / 0.4897 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.1041, allocations: 4 kB / 0.4897 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.1042, allocations: 7.984 kB / 0.4897 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004575/0.1046, allocations: 237.7 kB / 0.4899 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002685/0.1049, allocations: 322.7 kB / 0.4902 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.319e-05/0.105, allocations: 40.69 kB / 0.4903 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.1051, allocations: 126.1 kB / 0.4904 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1051, allocations: 0 / 0.4904 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.1057, allocations: 371.8 kB / 0.4907 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008009/0.1065, allocations: 0.9137 MB / 0.4916 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Templates: time 0.004243/0.1107, allocations: 1.584 MB / 0.4932 GB, free: 7.562 MB / 382.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1)