Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_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_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001004/0.001004, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1319/0.1319, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.89 kB / 435.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08596, allocations: 54.96 MB / 490.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002455/0.08845, allocations: 1.602 MB / 492.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006896/0.08916, allocations: 443 kB / 492.6 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.08923, allocations: 4 kB / 492.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.0893, allocations: 3.938 kB / 492.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.08948, allocations: 35.7 kB / 492.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.766e-05/0.08956, allocations: 15.98 kB / 492.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.08969, allocations: 115.6 kB / 492.8 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.0898, allocations: 19.98 kB / 492.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.08992, allocations: 47.84 kB / 492.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.09003, allocations: 47.77 kB / 492.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.09006, allocations: 8 kB / 492.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/0.09008, allocations: 8 kB / 492.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.09012, allocations: 23.91 kB / 492.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.09017, allocations: 47.73 kB / 493 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.0903, allocations: 91.56 kB / 493.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.09031, allocations: 4 kB / 493.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09032, allocations: 0 / 493.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.09033, allocations: 0 / 493.1 MB, free: 4.371 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005493/0.09089, allocations: 403.1 kB / 493.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.09093, allocations: 8.031 kB / 493.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.09098, allocations: 20.78 kB / 493.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.09114, allocations: 188.1 kB / 493.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.09116, allocations: 8.375 kB / 493.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.09119, allocations: 8.375 kB / 493.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.09134, allocations: 77.61 kB / 493.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.09135, allocations: 0 / 493.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.09137, allocations: 0 / 493.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.09138, allocations: 7.984 kB / 493.8 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.09148, allocations: 43.91 kB / 493.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.09202, allocations: 372.5 kB / 494.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.09229, allocations: 90.64 kB / 494.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.09237, allocations: 36.84 kB / 494.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.09239, allocations: 0 / 494.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.09242, allocations: 42.56 kB / 494.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.021e-06/0.09242, allocations: 192 / 494.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007353/0.09316, allocations: 422.7 kB / 494.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.09321, allocations: 55.41 kB / 494.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.09333, allocations: 144 kB / 494.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.09335, allocations: 25.7 kB / 495 MB, free: 2.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.09342, allocations: 108 kB / 495.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.09346, allocations: 43.36 kB / 495.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.09351, allocations: 30.38 kB / 495.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.09362, allocations: 318.8 kB / 495.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.09368, allocations: 27.98 kB / 495.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.09375, allocations: 50.56 kB / 495.5 MB, free: 1.621 MB / 366.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.09422, allocations: 247.3 kB / 495.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.09423, allocations: 0 / 495.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002658/0.0945, allocations: 158.3 kB / 495.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.09453, allocations: 7.938 kB / 495.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.09454, allocations: 0 / 495.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.09469, allocations: 28.84 kB / 496 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.09481, allocations: 27.92 kB / 496 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.09608, allocations: 1.623 MB / 497.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.09617, allocations: 0 / 497.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.09619, allocations: 4 kB / 497.6 MB, free: 15.35 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: G.Pm = G.Pcmd. 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 (13): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.09631, allocations: 129.7 kB / 497.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.09635, allocations: 15.83 kB / 497.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.09638, allocations: 16.72 kB / 497.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.09639, allocations: 4.062 kB / 497.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.0964, allocations: 0 / 497.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.09645, allocations: 81.02 kB / 497.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.09648, allocations: 11.92 kB / 497.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.09658, allocations: 7.938 kB / 497.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.09661, allocations: 7.984 kB / 497.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003981/0.09701, allocations: 217.7 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002599/0.09728, allocations: 310.6 kB / 498.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.594e-05/0.09735, allocations: 32.05 kB / 498.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.09743, allocations: 107.2 kB / 498.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of Backend: time 3e-07/0.09744, allocations: 0 / 498.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.09798, allocations: 258.9 kB / 498.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 0.000722/0.09872, allocations: 0.8559 MB / 499.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.003714/0.1024, allocations: 1.319 MB / 0.4892 GB, free: 11.88 MB / 382.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1)