Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.004057/0.004057, allocations: 89.75 kB / 15.91 MB, free: 6.305 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.0009834/0.0009834, allocations: 192.3 kB / 16.83 MB, free: 6.238 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.229/1.229, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1393/0.1393, allocations: 8.074 MB / 298.7 MB, free: 2.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07531/0.07649, allocations: 51.53 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002514/0.07903, allocations: 1.645 MB / 414.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.08084, allocations: 1.536 MB / 415.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.08096, allocations: 4 kB / 415.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.0813, allocations: 115.6 kB / 416 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.08163, allocations: 119.3 kB / 416.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.0834, allocations: 1.152 MB / 417.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.08368, allocations: 234.8 kB / 417.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.08382, allocations: 76.09 kB / 417.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.08394, allocations: 95.62 kB / 417.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.0841, allocations: 115.5 kB / 417.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.08414, allocations: 12 kB / 417.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.08454, allocations: 251.7 kB / 418 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.08459, allocations: 39.84 kB / 418 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.08469, allocations: 111.4 kB / 418.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.08515, allocations: 419.1 kB / 418.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.08516, allocations: 4 kB / 418.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.08517, allocations: 4 kB / 418.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.08517, allocations: 0 / 418.6 MB, free: 4.16 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002882/0.08806, allocations: 0.9124 MB / 419.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.0881, allocations: 11.97 kB / 419.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.08817, allocations: 54.67 kB / 419.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.08823, allocations: 24.66 kB / 419.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.0885, allocations: 263.8 kB / 419.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.08853, allocations: 20.69 kB / 419.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.08857, allocations: 20.38 kB / 419.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.08899, allocations: 285.7 kB / 420.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.089, allocations: 3.938 kB / 420.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.08903, allocations: 8 kB / 420.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.08905, allocations: 4 kB / 420.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.08941, allocations: 247.9 kB / 420.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.09082, allocations: 1.145 MB / 421.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.0914, allocations: 308.5 kB / 421.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.09161, allocations: 152.8 kB / 422 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.09167, allocations: 7.984 kB / 422 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.0917, allocations: 46.98 kB / 422 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.0917, allocations: 0 / 422 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003137/0.09484, allocations: 0.9593 MB / 423 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.0949, allocations: 85.05 kB / 423.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.0951, allocations: 207.1 kB / 423.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.09514, allocations: 33.7 kB / 423.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.09521, allocations: 132.8 kB / 423.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.09528, allocations: 86.75 kB / 423.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.0954, allocations: 65.59 kB / 423.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.0955, allocations: 342.8 kB / 423.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.09574, allocations: 160 kB / 424.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.09602, allocations: 193.6 kB / 424.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.09652, allocations: 370.1 kB / 424.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09653, allocations: 7.938 kB / 424.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001769/0.09831, allocations: 0.6811 MB / 425.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.09833, allocations: 4 kB / 425.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.09834, allocations: 0 / 425.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.1002, allocations: 388.4 kB / 425.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1004, allocations: 51.91 kB / 425.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.1045, allocations: 2.522 MB / 428.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.1047, allocations: 35.69 kB / 428.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.1048, allocations: 15.98 kB / 428.3 MB, free: 9.883 MB / 366.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 (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1049, allocations: 140.4 kB / 428.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.1049, allocations: 19.81 kB / 428.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.1067, allocations: 0.648 MB / 429.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1067, allocations: 4 kB / 429.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.1067, allocations: 0 / 429.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1067, allocations: 7.922 kB / 429.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.1071, allocations: 393.2 kB / 429.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1071, allocations: 4 kB / 429.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1072, allocations: 39.92 kB / 429.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.109, allocations: 368.5 kB / 429.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.109, allocations: 4 kB / 429.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.1128, allocations: 2.507 MB / 432.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1128, allocations: 4 kB / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.1145, allocations: 0.7029 MB / 433.2 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.1145, allocations: 100.8 kB / 433.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.1146, allocations: 4 kB / 433.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1148, allocations: 15.98 kB / 433.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.1149, allocations: 27.91 kB / 433.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1149, allocations: 7.938 kB / 433.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1151, allocations: 163.4 kB / 433.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1151, allocations: 0 / 433.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.1155, allocations: 99.98 kB / 433.6 MB, free: 4.406 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001945/0.1174, allocations: 1.236 MB / 434.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.1189, allocations: 0.6425 MB / 435.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.119, allocations: 0 / 435.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.1201, allocations: 458.9 kB / 435.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1204, allocations: 23.94 kB / 435.9 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.134/0.2544, allocations: 3.415 MB / 439.3 MB, free: 56.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2546, allocations: 0.7498 MB / 440.1 MB, free: 55.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.2547, allocations: 31.91 kB / 440.1 MB, free: 55.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.2548, allocations: 67.28 kB / 440.2 MB, free: 55.46 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2548, allocations: 0.8438 kB / 440.2 MB, free: 55.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6077/0.8625, allocations: 8.221 MB / 448.4 MB, free: 55 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.8627, allocations: 230.8 kB / 448.6 MB, free: 54.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.717, allocations: 4.172 kB / 448.6 MB, free: 54.75 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)