Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.001216/0.001216, allocations: 106.7 kB / 16.45 MB, free: 6.438 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.001432/0.001432, allocations: 189.5 kB / 17.39 MB, free: 5.668 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04451/0.04451, allocations: 8.097 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.89 kB / 414 MB, free: 22.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08625, allocations: 51.51 MB / 465.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003641/0.08993, allocations: 2.84 MB / 468.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.09221, allocations: 1.648 MB / 470 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.09251, allocations: 12 kB / 470 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.093, allocations: 178.9 kB / 470.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.09367, allocations: 230.5 kB / 470.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.09581, allocations: 1.256 MB / 471.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006475/0.09647, allocations: 485.6 kB / 472.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.09675, allocations: 179.8 kB / 472.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.09695, allocations: 199.3 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.09727, allocations: 266.9 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.09733, allocations: 40 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.0978, allocations: 283.7 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.09789, allocations: 99.61 kB / 473.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.09808, allocations: 238.8 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.09876, allocations: 0.6668 MB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.09877, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09878, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.09879, allocations: 0 / 474.1 MB, free: 10.15 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005267/0.1041, allocations: 1.505 MB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1041, allocations: 15.89 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.747e-05/0.1042, allocations: 78.66 kB / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1043, allocations: 56.38 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.1047, allocations: 351.3 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.1048, allocations: 33.38 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.1048, allocations: 48.31 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.1057, allocations: 0.5776 MB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1057, allocations: 3.938 kB / 476.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.1057, allocations: 16 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1058, allocations: 8 kB / 476.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.1065, allocations: 0.531 MB / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.1092, allocations: 2.269 MB / 479.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1103, allocations: 0.8453 MB / 480.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.1108, allocations: 326.1 kB / 480.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.401e-05/0.1109, allocations: 16.42 kB / 480.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1109, allocations: 38.94 kB / 480.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.315e-06/0.1109, allocations: 0 / 480.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006993/0.1179, allocations: 2.038 MB / 482.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.118, allocations: 107.2 kB / 482.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1183, allocations: 274.9 kB / 483.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.1183, allocations: 41.7 kB / 483.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1185, allocations: 181.3 kB / 483.4 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1186, allocations: 177.3 kB / 483.6 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.1188, allocations: 118.3 kB / 483.7 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1189, allocations: 350.7 kB / 484 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.1194, allocations: 329.2 kB / 484.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.1199, allocations: 381.7 kB / 484.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/0.1208, allocations: 0.7095 MB / 485.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1209, allocations: 0 / 485.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003453/0.1243, allocations: 1.34 MB / 486.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1244, allocations: 4 kB / 486.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1244, allocations: 7.984 kB / 486.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003398/0.1278, allocations: 0.7922 MB / 487.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.1282, allocations: 99.83 kB / 487.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/0.135, allocations: 4.178 MB / 491.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.1355, allocations: 63.36 kB / 491.9 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.1356, allocations: 16 kB / 491.9 MB, free: 7.621 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 (61): * Single equations (assignments): 60 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.1358, allocations: 181.6 kB / 492.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/0.1359, allocations: 35.62 kB / 492.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.1393, allocations: 1.311 MB / 493.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1393, allocations: 8 kB / 493.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1393, allocations: 0 / 493.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1393, allocations: 0 / 493.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.1432, allocations: 1.989 MB / 495.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1432, allocations: 4 kB / 495.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.1434, allocations: 71.91 kB / 495.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.1467, allocations: 0.7531 MB / 496.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.1468, allocations: 12 kB / 496.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006539/0.1533, allocations: 4.118 MB / 0.4887 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1533, allocations: 3.938 kB / 0.4887 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.1565, allocations: 1.308 MB / 0.49 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.1566, allocations: 120.5 kB / 0.4901 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.1566, allocations: 16 kB / 0.4901 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.157, allocations: 37.7 kB / 0.4901 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1572, allocations: 40.5 kB / 0.4902 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.1572, allocations: 16 kB / 0.4902 GB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.1574, allocations: 193.9 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1574, allocations: 0 / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006244/0.158, allocations: 211.6 kB / 0.4906 GB, free: 12.96 MB / 382.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 (45): * Single equations (assignments): 44 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003476/0.1615, allocations: 1.868 MB / 0.4924 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.164, allocations: 1.123 MB / 0.4935 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.164, allocations: 0 / 0.4935 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.1657, allocations: 0.7241 MB / 0.4942 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1661, allocations: 48.8 kB / 0.4942 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009865/0.176, allocations: 5.493 MB / 0.4996 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1764, allocations: 0.8179 MB / 0.5004 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.1766, allocations: 63.22 kB / 0.5005 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.1768, allocations: 143.4 kB / 0.5006 GB, free: 2.508 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1768, allocations: 4 kB / 0.5006 GB, free: 2.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2086/0.3855, allocations: 16.54 MB / 0.5168 GB, free: 43.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.26, allocations: 6.781 kB / 0.5168 GB, free: 43.05 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)