Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008678, allocations: 96.94 kB / 16.06 MB, free: 40 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.0009734/0.0009733, allocations: 183.4 kB / 16.96 MB, free: 6.895 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2048/0.2048, allocations: 8.08 MB / 300.2 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 52.51 MB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001321/0.1225, allocations: 0.8584 MB / 416.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1244, allocations: 1.431 MB / 418.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.1245, allocations: 4 kB / 418.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.1248, allocations: 87.67 kB / 418.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.125, allocations: 59.61 kB / 418.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1262, allocations: 0.7238 MB / 419.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1265, allocations: 127.3 kB / 419.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1266, allocations: 41.08 kB / 419.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.1267, allocations: 55.78 kB / 419.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.1268, allocations: 63.69 kB / 419.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1268, allocations: 7.938 kB / 419.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1271, allocations: 155.9 kB / 419.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.1271, allocations: 15.92 kB / 419.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.1272, allocations: 89.36 kB / 419.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.1275, allocations: 247.5 kB / 419.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1275, allocations: 4 kB / 419.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1276, allocations: 0 / 419.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1276, allocations: 0 / 419.9 MB, free: 4.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001474/0.129, allocations: 0.5694 MB / 420.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1291, allocations: 8.031 kB / 420.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.1291, allocations: 12.84 kB / 420.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1294, allocations: 216.1 kB / 420.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1294, allocations: 8.609 kB / 420.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1294, allocations: 12.38 kB / 420.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.1297, allocations: 172 kB / 420.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1298, allocations: 4.125 kB / 420.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1298, allocations: 3.938 kB / 420.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1298, allocations: 4 kB / 420.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.13, allocations: 160.6 kB / 421.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.131, allocations: 0.5675 MB / 421.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.1313, allocations: 154.5 kB / 421.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1314, allocations: 72.84 kB / 421.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.1315, allocations: 8 kB / 421.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1315, allocations: 30.56 kB / 421.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1316, allocations: 0 / 421.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001047/0.1326, allocations: 391.6 kB / 422.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1327, allocations: 55.41 kB / 422.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1328, allocations: 165.7 kB / 422.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1329, allocations: 29.7 kB / 422.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.133, allocations: 120.1 kB / 422.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.133, allocations: 43.36 kB / 422.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.133, allocations: 25.7 kB / 422.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1332, allocations: 326.8 kB / 423.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1333, allocations: 91.97 kB / 423.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1335, allocations: 91.97 kB / 423.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.1337, allocations: 187.1 kB / 423.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1338, allocations: 0 / 423.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005254/0.1343, allocations: 311 kB / 423.7 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1343, allocations: 5.875 kB / 423.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1343, allocations: 0 / 423.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.1346, allocations: 60.81 kB / 423.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1348, allocations: 31.92 kB / 423.8 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2195/0.3543, allocations: 1.435 MB / 425.3 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3545, allocations: 22.25 kB / 425.3 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3545, allocations: 6.094 kB / 425.3 MB, free: 40.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.3547, allocations: 127.8 kB / 425.4 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.3547, allocations: 11.44 kB / 425.4 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.3552, allocations: 233.3 kB / 425.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3552, allocations: 0 / 425.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3552, allocations: 1.406 kB / 425.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3552, allocations: 0 / 425.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3555, allocations: 270.8 kB / 425.9 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3555, allocations: 3.969 kB / 425.9 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.3556, allocations: 15.3 kB / 425.9 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.3558, allocations: 56.27 kB / 426 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3558, allocations: 5.125 kB / 426 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.3568, allocations: 1.432 MB / 427.4 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3569, allocations: 1.625 kB / 427.4 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3573, allocations: 298.7 kB / 427.7 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.3573, allocations: 94.55 kB / 427.8 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3573, allocations: 8.359 kB / 427.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3575, allocations: 4.5 kB / 427.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3575, allocations: 11.88 kB / 427.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3575, allocations: 7.469 kB / 427.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.3576, allocations: 134.8 kB / 428 MB, free: 38.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3576, allocations: 0 / 428 MB, free: 38.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.3579, allocations: 57.36 kB / 428 MB, free: 38.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.3581, allocations: 118.5 kB / 428.1 MB, free: 38.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.3587, allocations: 313.2 kB / 428.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3587, allocations: 6.625 kB / 428.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.359, allocations: 201 kB / 428.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3593, allocations: 10.56 kB / 428.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.3599, allocations: 365.3 kB / 429 MB, free: 38.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.36, allocations: 0.7083 MB / 429.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.3601, allocations: 21.45 kB / 429.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.3602, allocations: 23.28 kB / 429.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3602, allocations: 0 / 429.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of Templates: time 0.004797/0.365, allocations: 2.005 MB / 431.8 MB, free: 37.29 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) Environment - environmentSimulation: