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.001342/0.001342, allocations: 101.8 kB / 16.31 MB, free: 6.391 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.001194/0.001194, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04099/0.04099, allocations: 8.094 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 59.91 kB / 361.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.211, allocations: 51.51 MB / 413.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003097/0.2141, allocations: 2.833 MB / 416.2 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2158, allocations: 1.648 MB / 417.8 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2159, allocations: 15.94 kB / 417.8 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.2163, allocations: 171 kB / 418 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.2168, allocations: 234.5 kB / 418.2 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.2185, allocations: 1.255 MB / 419.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.2189, allocations: 477.8 kB / 420 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.2191, allocations: 171.3 kB / 420.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2192, allocations: 203.2 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.2195, allocations: 267 kB / 420.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.2195, allocations: 44 kB / 420.6 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.2199, allocations: 275.7 kB / 420.9 MB, free: 17.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.2199, allocations: 107.5 kB / 421 MB, free: 17.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2201, allocations: 234.9 kB / 421.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.2205, allocations: 0.6581 MB / 421.9 MB, free: 17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2206, allocations: 4 kB / 421.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2206, allocations: 4 kB / 421.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2206, allocations: 0 / 421.9 MB, free: 16.99 MB / 302.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.004936/0.2255, allocations: 1.509 MB / 423.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2256, allocations: 11.89 kB / 423.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.483e-05/0.2256, allocations: 78.72 kB / 423.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.2258, allocations: 52.31 kB / 423.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.2261, allocations: 347.4 kB / 423.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2261, allocations: 33.38 kB / 423.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.2262, allocations: 40.38 kB / 424 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.2268, allocations: 0.5815 MB / 424.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2269, allocations: 3.938 kB / 424.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.2269, allocations: 19.98 kB / 424.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2269, allocations: 8 kB / 424.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.2275, allocations: 0.5271 MB / 425.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.2297, allocations: 2.28 MB / 427.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.2306, allocations: 0.8531 MB / 428.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.2309, allocations: 322.1 kB / 428.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.231, allocations: 16.41 kB / 428.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.231, allocations: 42.94 kB / 428.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.643e-06/0.231, allocations: 3.938 kB / 428.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006344/0.2374, allocations: 2.034 MB / 430.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2374, allocations: 111.2 kB / 430.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.2377, allocations: 266.9 kB / 431 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.2377, allocations: 41.7 kB / 431.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.2378, allocations: 185.2 kB / 431.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.2379, allocations: 185.3 kB / 431.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2381, allocations: 118.3 kB / 431.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.2381, allocations: 342.8 kB / 431.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.2385, allocations: 325.2 kB / 432.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.2389, allocations: 385.6 kB / 432.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.2398, allocations: 0.7094 MB / 433.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2398, allocations: 4 kB / 433.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00307/0.2429, allocations: 1.348 MB / 434.6 MB, free: 3.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2429, allocations: 4 kB / 434.6 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2429, allocations: 0 / 434.6 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003218/0.2461, allocations: 0.7851 MB / 435.4 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.2465, allocations: 107.8 kB / 435.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.2529, allocations: 4.179 MB / 439.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.2533, allocations: 63.36 kB / 439.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.2534, allocations: 20 kB / 439.8 MB, free: 14.45 MB / 318.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.0002129/0.2536, allocations: 169.7 kB / 439.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.2537, allocations: 39.47 kB / 440 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/0.2571, allocations: 1.323 MB / 441.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2571, allocations: 4 kB / 441.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2572, allocations: 0 / 441.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2572, allocations: 3.984 kB / 441.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.2611, allocations: 1.981 MB / 443.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2612, allocations: 0 / 443.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2614, allocations: 75.91 kB / 443.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.2649, allocations: 0.7573 MB / 444.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.2649, allocations: 19.97 kB / 444.1 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/0.272, allocations: 4.128 MB / 448.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.272, allocations: 7.938 kB / 448.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.2754, allocations: 1.304 MB / 449.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2755, allocations: 128.4 kB / 449.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.2756, allocations: 12 kB / 449.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.276, allocations: 35.42 kB / 449.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.2761, allocations: 36.5 kB / 449.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.2762, allocations: 16 kB / 449.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2764, allocations: 194 kB / 450 MB, free: 3.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 0 / 450 MB, free: 3.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006473/0.277, allocations: 199.8 kB / 450.2 MB, free: 3.773 MB / 318.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.003622/0.2807, allocations: 1.876 MB / 452.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.2834, allocations: 1.158 MB / 453.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2834, allocations: 4 kB / 453.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.2852, allocations: 0.7164 MB / 453.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2855, allocations: 41.19 kB / 454 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.2955, allocations: 5.521 MB / 459.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2958, allocations: 0.8217 MB / 460.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.296, allocations: 59.23 kB / 460.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.2962, allocations: 147.4 kB / 460.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2962, allocations: 0 / 460.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4756/0.7719, allocations: 15.79 MB / 476.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.59, allocations: 8.125 kB / 476.3 MB, free: 9.664 MB / 350.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)