Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.004982/0.004982, allocations: 93.61 kB / 15.91 MB, free: 6.277 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.001234/0.001234, allocations: 197.4 kB / 16.84 MB, free: 6.191 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.242/1.242, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1296/0.1296, allocations: 8.085 MB / 298.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08374, allocations: 51.52 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001958/0.08574, allocations: 0.9171 MB / 413.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.08708, allocations: 1.291 MB / 414.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.08712, allocations: 0 / 414.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.08735, allocations: 59.77 kB / 414.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.08747, allocations: 31.83 kB / 415 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.08805, allocations: 338.8 kB / 415.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.08813, allocations: 71.61 kB / 415.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.08822, allocations: 31.95 kB / 415.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.08826, allocations: 23.88 kB / 415.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.08837, allocations: 47.77 kB / 415.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.08839, allocations: 4 kB / 415.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.08856, allocations: 91.95 kB / 415.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.08858, allocations: 15.91 kB / 415.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.08863, allocations: 39.81 kB / 415.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.08883, allocations: 147.9 kB / 415.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.08884, allocations: 0 / 415.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.08885, allocations: 0 / 415.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.08885, allocations: 7.938 kB / 415.8 MB, free: 6.957 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007342/0.08959, allocations: 435.2 kB / 416.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.08963, allocations: 8.031 kB / 416.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.08967, allocations: 38.75 kB / 416.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.0897, allocations: 12.84 kB / 416.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.08985, allocations: 188.2 kB / 416.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.08986, allocations: 384 / 416.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.08988, allocations: 8.312 kB / 416.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.09003, allocations: 94.22 kB / 416.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.09005, allocations: 3.938 kB / 416.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.09007, allocations: 4 kB / 416.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.09008, allocations: 4 kB / 416.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.09019, allocations: 75.95 kB / 416.6 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.09068, allocations: 388.5 kB / 417 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.09099, allocations: 106.7 kB / 417.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.09105, allocations: 33 kB / 417.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.09108, allocations: 3.984 kB / 417.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.09111, allocations: 42.56 kB / 417.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.09112, allocations: 0 / 417.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000523/0.09164, allocations: 231.5 kB / 417.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.09168, allocations: 59.33 kB / 417.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.09181, allocations: 138.1 kB / 417.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.09183, allocations: 25.7 kB / 417.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.09188, allocations: 99.95 kB / 417.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.0919, allocations: 27.64 kB / 417.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.09195, allocations: 25.7 kB / 417.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.09204, allocations: 322.8 kB / 418.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.0921, allocations: 39.92 kB / 418.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.09215, allocations: 31.98 kB / 418.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.09225, allocations: 68.84 kB / 418.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.09226, allocations: 0 / 418.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002578/0.09253, allocations: 154.5 kB / 418.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.09255, allocations: 7.938 kB / 418.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.09256, allocations: 0 / 418.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.09276, allocations: 32.83 kB / 418.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.09284, allocations: 19.94 kB / 418.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009164/0.09377, allocations: 1.323 MB / 419.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.09386, allocations: 11.97 kB / 419.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.09387, allocations: 160 / 419.8 MB, free: 2.547 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 (9): * Single equations (assignments): 8 * 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 7.271e-05/0.09396, allocations: 133.7 kB / 419.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.09399, allocations: 3.906 kB / 419.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.09426, allocations: 130.9 kB / 420 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.09427, allocations: 4 kB / 420 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.09428, allocations: 0 / 420 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.09429, allocations: 0 / 420 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.09447, allocations: 217.4 kB / 420.2 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09448, allocations: 4 kB / 420.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.09452, allocations: 4 kB / 420.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.09467, allocations: 36.83 kB / 420.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.09469, allocations: 4 kB / 420.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008604/0.09556, allocations: 1.323 MB / 421.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.09557, allocations: 3.938 kB / 421.6 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.09582, allocations: 208.4 kB / 421.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.09587, allocations: 96.94 kB / 421.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.09589, allocations: 3.938 kB / 421.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.09601, allocations: 7.984 kB / 421.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.09603, allocations: 11.94 kB / 421.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.09604, allocations: 0 / 421.9 MB, free: 124 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.09614, allocations: 123.2 kB / 422.1 MB, free: 4 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09614, allocations: 0 / 422.1 MB, free: 4 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.09642, allocations: 24.05 kB / 422.1 MB, free: 15.98 MB / 366.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 (6): * Single equations (assignments): 5 * 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.0004981/0.09692, allocations: 0.7603 MB / 422.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.09725, allocations: 198.7 kB / 423 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.09726, allocations: 0 / 423 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.09745, allocations: 146.6 kB / 423.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.09773, allocations: 12.27 kB / 423.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.09925, allocations: 1.622 MB / 424.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.09945, allocations: 0.6925 MB / 425.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.09951, allocations: 12.66 kB / 425.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.09956, allocations: 27.42 kB / 425.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09956, allocations: 0 / 425.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4266/0.5262, allocations: 2.65 MB / 428.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.5264, allocations: 213.5 kB / 428.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.25, allocations: 7.875 kB / 428.4 MB, free: 9.523 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)