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: "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007502/0.0007504, allocations: 95.77 kB / 15.74 MB, free: 420 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.0008223/0.0008223, allocations: 175.7 kB / 16.62 MB, free: 6.883 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.274/1.274, allocations: 223.3 MB / 240.7 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1551/0.1551, allocations: 8.079 MB / 299.8 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 12 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08841, allocations: 52.53 MB / 415.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001042/0.08948, allocations: 0.8123 MB / 416.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.09089, allocations: 1.369 MB / 417.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.09094, allocations: 0 / 417.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.09117, allocations: 79.67 kB / 417.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.09132, allocations: 59.67 kB / 417.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.09225, allocations: 0.6073 MB / 418.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.09241, allocations: 123.3 kB / 418.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.09252, allocations: 37.27 kB / 418.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.09257, allocations: 47.84 kB / 418.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.09266, allocations: 59.7 kB / 418.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.09268, allocations: 8 kB / 418.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.09291, allocations: 151.8 kB / 418.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.09294, allocations: 23.86 kB / 418.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.09298, allocations: 45.64 kB / 418.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.09319, allocations: 183.8 kB / 419.1 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09321, allocations: 0 / 419.1 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.09321, allocations: 4 kB / 419.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.09322, allocations: 3.938 kB / 419.1 MB, free: 4.992 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.001178/0.09441, allocations: 0.5614 MB / 419.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.09445, allocations: 12.03 kB / 419.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.09451, allocations: 46.55 kB / 419.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.09455, allocations: 19.77 kB / 419.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.09473, allocations: 205.5 kB / 419.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.09475, allocations: 8.234 kB / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.09477, allocations: 15.94 kB / 419.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.09504, allocations: 167.5 kB / 420.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.09505, allocations: 0 / 420.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.09507, allocations: 4 kB / 420.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.09509, allocations: 7.984 kB / 420.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.0953, allocations: 152.6 kB / 420.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.09606, allocations: 0.5675 MB / 420.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.0963, allocations: 162.4 kB / 421 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.0964, allocations: 68.84 kB / 421.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.09644, allocations: 4 kB / 421.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.09647, allocations: 34.56 kB / 421.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.09648, allocations: 0 / 421.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008257/0.09731, allocations: 387.5 kB / 421.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.09735, allocations: 59.41 kB / 421.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.09748, allocations: 170.3 kB / 421.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.09751, allocations: 25.7 kB / 421.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.09758, allocations: 116.1 kB / 421.8 MB, free: 2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.09762, allocations: 51.34 kB / 421.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.09764, allocations: 4 kB / 421.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.09773, allocations: 322.8 kB / 422.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.09786, allocations: 87.97 kB / 422.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.09799, allocations: 94.2 kB / 422.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.09814, allocations: 99.92 kB / 422.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.09814, allocations: 0 / 422.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004842/0.09863, allocations: 299.2 kB / 422.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.09865, allocations: 4 kB / 422.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09866, allocations: 0 / 422.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.0989, allocations: 52.83 kB / 422.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.09908, allocations: 39.91 kB / 422.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1575/0.2566, allocations: 1.432 MB / 424.3 MB, free: 40.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2568, allocations: 15.5 kB / 424.3 MB, free: 40.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2569, allocations: 8.391 kB / 424.3 MB, free: 40.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.257, allocations: 132.2 kB / 424.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.257, allocations: 11.72 kB / 424.5 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.2575, allocations: 235.7 kB / 424.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2575, allocations: 1.719 kB / 424.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.2575, allocations: 0 / 424.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2575, allocations: 4.484 kB / 424.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.2577, allocations: 269.7 kB / 425 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2577, allocations: 3.594 kB / 425 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.2578, allocations: 16.06 kB / 425 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.258, allocations: 52.56 kB / 425 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.258, allocations: 4.359 kB / 425 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008388/0.2589, allocations: 1.43 MB / 426.5 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2589, allocations: 1.688 kB / 426.5 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.2592, allocations: 305.9 kB / 426.8 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.2593, allocations: 97.86 kB / 426.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2593, allocations: 7.875 kB / 426.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2594, allocations: 1.5 kB / 426.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.2594, allocations: 9.156 kB / 426.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2594, allocations: 7.031 kB / 426.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.184e-05/0.2595, allocations: 125.2 kB / 427 MB, free: 38.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2595, allocations: 3.656 kB / 427 MB, free: 38.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.2598, allocations: 52.81 kB / 427.1 MB, free: 38.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005557/0.2604, allocations: 0.8554 MB / 427.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.2609, allocations: 310.6 kB / 428.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2609, allocations: 3.438 kB / 428.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.2612, allocations: 202 kB / 428.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2615, allocations: 11.16 kB / 428.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2627, allocations: 1.005 MB / 429.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2628, allocations: 0.7114 MB / 430.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.052e-05/0.2629, allocations: 18.14 kB / 430.2 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.263, allocations: 35.2 kB / 430.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.263, allocations: 0 / 430.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.2765, allocations: 3.513 MB / 433.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.2766, allocations: 213.4 kB / 433.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.822, allocations: 0 / 433.9 MB, free: 35.84 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) Environment - environmentSimulation: