Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.0007183/0.0007183, allocations: 96.86 kB / 15.74 MB, free: 424 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.0007559/0.000756, allocations: 173.8 kB / 16.62 MB, free: 6.434 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.232/1.232, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1582/0.1582, allocations: 8.073 MB / 299.8 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 12 kB / 363 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08561, allocations: 52.52 MB / 415.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001279/0.08695, allocations: 1.023 MB / 416.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.08846, allocations: 1.431 MB / 417.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.08853, allocations: 0 / 417.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.08878, allocations: 95.59 kB / 418 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.08897, allocations: 79.47 kB / 418.1 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.09012, allocations: 0.7165 MB / 418.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.09033, allocations: 183 kB / 419 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.09045, allocations: 49.83 kB / 419 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.09053, allocations: 67.7 kB / 419.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.09067, allocations: 91.67 kB / 419.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.09071, allocations: 8 kB / 419.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.09098, allocations: 187.8 kB / 419.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.09102, allocations: 31.84 kB / 419.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.09106, allocations: 53.64 kB / 419.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.09133, allocations: 243.6 kB / 419.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.09134, allocations: 0 / 419.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09134, allocations: 0 / 419.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.09135, allocations: 0 / 419.7 MB, free: 4.375 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001463/0.09282, allocations: 0.655 MB / 420.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.09286, allocations: 8.031 kB / 420.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.09291, allocations: 50.55 kB / 420.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.09296, allocations: 23.67 kB / 420.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.09319, allocations: 230.7 kB / 420.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.09321, allocations: 12.28 kB / 420.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.09325, allocations: 16 kB / 420.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.09356, allocations: 215.7 kB / 420.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.09358, allocations: 0 / 420.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.0936, allocations: 4 kB / 420.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09361, allocations: 8 kB / 420.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.09389, allocations: 208.7 kB / 421.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.0949, allocations: 0.8501 MB / 422 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.09551, allocations: 367.8 kB / 422.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.0957, allocations: 136.8 kB / 422.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.09574, allocations: 4 kB / 422.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.09577, allocations: 38.56 kB / 422.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.09578, allocations: 4 kB / 422.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001772/0.09755, allocations: 0.7161 MB / 423.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.0976, allocations: 63.34 kB / 423.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.09777, allocations: 194.2 kB / 423.5 MB, free: 332 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.0978, allocations: 29.7 kB / 423.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.09787, allocations: 116.4 kB / 423.6 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.09793, allocations: 78.89 kB / 423.7 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.09795, allocations: 4 kB / 423.7 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1576/0.2556, allocations: 323.5 kB / 424 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2558, allocations: 118.5 kB / 424.1 MB, free: 40.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.256, allocations: 126.6 kB / 424.3 MB, free: 40.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.2562, allocations: 133.8 kB / 424.4 MB, free: 40.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2562, allocations: 0 / 424.4 MB, free: 40.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008562/0.2571, allocations: 488.8 kB / 424.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2571, allocations: 4.375 kB / 424.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2571, allocations: 1.734 kB / 424.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.2578, allocations: 184.8 kB / 425 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2579, allocations: 38.52 kB / 425.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.26, allocations: 2.172 MB / 427.3 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2602, allocations: 16.94 kB / 427.3 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.2602, allocations: 10.53 kB / 427.3 MB, free: 39.38 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/0.2603, allocations: 132.8 kB / 427.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.2604, allocations: 27.34 kB / 427.4 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/0.2612, allocations: 456.7 kB / 427.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2612, allocations: 6.938 kB / 427.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2612, allocations: 4.188 kB / 427.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2612, allocations: 5.734 kB / 427.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2623, allocations: 0.8499 MB / 428.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2623, allocations: 1.969 kB / 428.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.2624, allocations: 22.66 kB / 428.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.2629, allocations: 180.2 kB / 429 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2629, allocations: 7.094 kB / 429 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.2649, allocations: 2.15 MB / 431.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2649, allocations: 3.031 kB / 431.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.2656, allocations: 0.5258 MB / 431.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.2657, allocations: 95.36 kB / 431.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2657, allocations: 3.312 kB / 431.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2659, allocations: 16.05 kB / 431.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2659, allocations: 24.27 kB / 431.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2659, allocations: 9.797 kB / 431.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.266, allocations: 138.5 kB / 431.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.266, allocations: 0 / 431.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.2664, allocations: 80.72 kB / 432 MB, free: 37.2 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 (16): * Single equations (assignments): 15 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/0.2673, allocations: 1.059 MB / 433.1 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007705/0.268, allocations: 495.1 kB / 433.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2681, allocations: 0 / 433.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.2685, allocations: 330.7 kB / 433.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2688, allocations: 24.16 kB / 433.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2707, allocations: 1.438 MB / 435.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2708, allocations: 0.7378 MB / 436.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.2709, allocations: 22.44 kB / 436.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.271, allocations: 56.05 kB / 436.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.271, allocations: 0 / 436.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.2859, allocations: 6.264 MB / 442.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.2861, allocations: 227.8 kB / 442.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.9, allocations: 3.875 kB / 442.6 MB, free: 34.1 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) Environment - environmentSimulation: