Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001346, allocations: 102.5 kB / 17.74 MB, free: 5.309 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.001297/0.001297, allocations: 197.2 kB / 18.67 MB, free: 4.383 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1764/0.1764, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.14 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2902, allocations: 58.06 MB / 0.5048 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.00922/0.2995, allocations: 10.34 MB / 0.5149 GB, free: 500 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006389/0.3059, allocations: 3.872 MB / 0.5187 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000589/0.3065, allocations: 35.78 kB / 0.5187 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.3094, allocations: 1.175 MB / 0.5198 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.3118, allocations: 0.9495 MB / 0.5208 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.3135, allocations: 0.6448 MB / 0.5214 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.3161, allocations: 2.072 MB / 0.5234 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3178, allocations: 1.195 MB / 0.5246 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.3192, allocations: 0.8808 MB / 0.5254 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.3206, allocations: 0.9878 MB / 0.5264 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.3208, allocations: 140.2 kB / 0.5265 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.322, allocations: 0.5638 MB / 0.5271 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007562/0.3228, allocations: 0.7114 MB / 0.5278 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008903/0.3237, allocations: 0.8207 MB / 0.5286 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.3267, allocations: 2.305 MB / 0.5308 GB, free: 8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3267, allocations: 0 / 0.5308 GB, free: 8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3267, allocations: 0 / 0.5308 GB, free: 8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.3267, allocations: 1 kB / 0.5308 GB, free: 8 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003434/0.3302, allocations: 1.79 MB / 0.5326 GB, free: 6.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3302, allocations: 16.98 kB / 0.5326 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.3319, allocations: 285.5 kB / 0.5329 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.3339, allocations: 1.073 MB / 0.5339 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.334, allocations: 95.3 kB / 0.534 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.3344, allocations: 148.4 kB / 0.5342 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.3371, allocations: 1.697 MB / 0.5358 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.3371, allocations: 11.09 kB / 0.5358 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.3373, allocations: 55.3 kB / 0.5359 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.3376, allocations: 103.3 kB / 0.536 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.34, allocations: 1.431 MB / 0.5374 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008214/0.3482, allocations: 6.039 MB / 0.5433 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3493, allocations: 0.697 MB / 0.544 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.35, allocations: 463.9 kB / 0.5444 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.3501, allocations: 12.89 kB / 0.5444 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.3501, allocations: 51.28 kB / 0.5445 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.855e-06/0.3502, allocations: 0 / 0.5445 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.009275/0.3594, allocations: 4.315 MB / 0.5487 GB, free: 10.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3595, allocations: 166.9 kB / 0.5488 GB, free: 10.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3606, allocations: 0.8335 MB / 0.5496 GB, free: 9.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.3606, allocations: 41.7 kB / 0.5497 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.361, allocations: 0.6311 MB / 0.5503 GB, free: 9.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.3613, allocations: 299.7 kB / 0.5506 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.3616, allocations: 222.8 kB / 0.5508 GB, free: 8.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3618, allocations: 358 kB / 0.5511 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/0.3626, allocations: 489.8 kB / 0.5516 GB, free: 7.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/0.3636, allocations: 0.7697 MB / 0.5524 GB, free: 6.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.3653, allocations: 1.296 MB / 0.5536 GB, free: 5.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3653, allocations: 0 / 0.5536 GB, free: 5.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003728/0.3691, allocations: 1.897 MB / 0.5555 GB, free: 3.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3691, allocations: 8 kB / 0.5555 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003042/0.3721, allocations: 1.502 MB / 0.557 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/0.3741, allocations: 0.5583 MB / 0.5575 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.3756, allocations: 407.4 kB / 0.5579 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.3901, allocations: 14.21 MB / 0.5718 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009646/0.391, allocations: 67.86 kB / 0.5718 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.3911, allocations: 44 kB / 0.5719 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.3924, allocations: 0.7991 MB / 0.5727 GB, free: 1.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008835/0.3933, allocations: 0.7425 MB / 0.5734 GB, free: 184 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001641/0.395, allocations: 1.253 MB / 0.5746 GB, free: 14.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.807e-06/0.395, allocations: 12 kB / 0.5746 GB, free: 14.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003582/0.3986, allocations: 1.855 MB / 0.5764 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3986, allocations: 11.94 kB / 0.5764 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002883/0.4015, allocations: 1.447 MB / 0.5778 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.4034, allocations: 0.5622 MB / 0.5784 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.4042, allocations: 219.6 kB / 0.5786 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.4157, allocations: 11.06 MB / 0.5894 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/0.4166, allocations: 63.89 kB / 0.5895 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.4167, allocations: 44 kB / 0.5895 GB, free: 14.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.417, allocations: 255.9 kB / 0.5898 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.4172, allocations: 98.78 kB / 0.5899 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.42, allocations: 1.405 MB / 0.5912 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.42, allocations: 3.984 kB / 0.5912 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.42, allocations: 4 kB / 0.5912 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.4204, allocations: 255.8 kB / 0.5915 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4206, allocations: 35.84 kB / 0.5915 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.4211, allocations: 47.88 kB / 0.5916 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4213, allocations: 64.89 kB / 0.5916 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00358/0.4249, allocations: 1.753 MB / 0.5933 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002551/0.4274, allocations: 1.888 MB / 0.5952 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007191/0.4282, allocations: 0.4918 MB / 0.5957 GB, free: 8.398 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007706/0.429, allocations: 0.5776 MB / 0.5962 GB, free: 7.809 MB / 462.1 MB Notification: Performance of Backend: time 5.81e-07/0.429, allocations: 0 / 0.5962 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006342/0.4353, allocations: 3.357 MB / 0.5995 GB, free: 4.32 MB / 462.1 MB Notification: Performance of SimCode: time 0.004722/0.4401, allocations: 3.398 MB / 0.6028 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of Templates: time 0.04007/0.4802, allocations: 26.84 MB / 0.629 GB, free: 6.148 MB / 494.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1)