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.001364/0.001364, allocations: 101.4 kB / 16.45 MB, free: 6.434 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.001411/0.001411, allocations: 190.6 kB / 17.39 MB, free: 5.691 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04815/0.04815, allocations: 8.101 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1026, allocations: 51.51 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.004052/0.1067, allocations: 2.844 MB / 468.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1094, allocations: 1.652 MB / 470 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.1098, allocations: 8 kB / 470 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000622/0.1104, allocations: 179 kB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008527/0.1113, allocations: 226.5 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1137, allocations: 1.256 MB / 471.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.1144, allocations: 493.5 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.1147, allocations: 179.8 kB / 472.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.1151, allocations: 199.3 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.1155, allocations: 270.9 kB / 472.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1156, allocations: 40 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.1162, allocations: 271.8 kB / 473.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1164, allocations: 107.6 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1166, allocations: 238.8 kB / 473.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009387/0.1176, allocations: 0.6667 MB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1176, allocations: 4 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1176, allocations: 0 / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.1176, allocations: 0 / 474.1 MB, free: 10.05 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.005486/0.1231, allocations: 1.509 MB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1232, allocations: 11.89 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.866e-05/0.1233, allocations: 74.72 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1234, allocations: 52.38 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.1238, allocations: 351.3 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1239, allocations: 41.31 kB / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.124, allocations: 40.38 kB / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.1248, allocations: 0.5815 MB / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1249, allocations: 3.938 kB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1249, allocations: 16 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1249, allocations: 8 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.1257, allocations: 0.5271 MB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1286, allocations: 2.269 MB / 479.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.1297, allocations: 0.8453 MB / 480.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.1301, allocations: 334 kB / 480.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/0.1302, allocations: 8.438 kB / 480.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1303, allocations: 42.94 kB / 480.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.993e-06/0.1303, allocations: 0 / 480.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006868/0.1371, allocations: 2.034 MB / 482.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.1372, allocations: 115.2 kB / 482.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.1375, allocations: 270.9 kB / 483.2 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/0.1376, allocations: 41.7 kB / 483.2 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1377, allocations: 181.3 kB / 483.4 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1379, allocations: 177.3 kB / 483.6 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.1382, allocations: 118.3 kB / 483.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1383, allocations: 342.8 kB / 484 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.1388, allocations: 329.1 kB / 484.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.1393, allocations: 389.6 kB / 484.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1403, allocations: 0.7095 MB / 485.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1403, allocations: 0 / 485.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003576/0.1439, allocations: 1.34 MB / 486.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1439, allocations: 8 kB / 486.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.144, allocations: 3.938 kB / 486.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/0.1475, allocations: 0.7885 MB / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.1479, allocations: 103.8 kB / 487.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.1555, allocations: 4.174 MB / 491.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.156, allocations: 63.36 kB / 491.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.1561, allocations: 19.98 kB / 491.9 MB, free: 7.531 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.0002563/0.1564, allocations: 173.7 kB / 492.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1565, allocations: 35.62 kB / 492.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.1601, allocations: 1.311 MB / 493.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1601, allocations: 12 kB / 493.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1601, allocations: 0 / 493.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1601, allocations: 3.984 kB / 493.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.1643, allocations: 1.985 MB / 495.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1643, allocations: 0 / 495.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.1646, allocations: 75.91 kB / 495.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/0.168, allocations: 0.7532 MB / 496.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.168, allocations: 15.94 kB / 496.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/0.1749, allocations: 4.121 MB / 0.4887 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1749, allocations: 3.938 kB / 0.4887 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.1784, allocations: 1.312 MB / 0.49 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.1785, allocations: 120.5 kB / 0.4901 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.1786, allocations: 12 kB / 0.4901 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.179, allocations: 26.56 kB / 0.4901 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1791, allocations: 44.5 kB / 0.4902 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.1791, allocations: 16 kB / 0.4902 GB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.1793, allocations: 193.9 kB / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1793, allocations: 0 / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006637/0.18, allocations: 211.6 kB / 0.4906 GB, free: 12.87 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.003655/0.1837, allocations: 1.868 MB / 0.4924 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.1863, allocations: 1.127 MB / 0.4935 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1863, allocations: 0 / 0.4935 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.188, allocations: 0.728 MB / 0.4942 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1884, allocations: 40.88 kB / 0.4942 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.1988, allocations: 5.49 MB / 0.4996 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.1993, allocations: 0.814 MB / 0.5004 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.1995, allocations: 67.2 kB / 0.5005 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.1998, allocations: 147.4 kB / 0.5006 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1998, allocations: 0 / 0.5006 GB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.228/0.4278, allocations: 16.54 MB / 0.5168 GB, free: 42.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 4.219 kB / 0.5168 GB, free: 42.94 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)