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.001576/0.001576, allocations: 106 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.001743/0.001743, allocations: 189.8 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0457/0.0457, allocations: 8.088 MB / 299.2 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 59.91 kB / 361.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.203, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.002946/0.206, allocations: 2.833 MB / 416.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2075, allocations: 1.644 MB / 417.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2077, allocations: 8 kB / 417.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.208, allocations: 175 kB / 418 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.2084, allocations: 238.5 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.2101, allocations: 1.259 MB / 419.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.2105, allocations: 481.7 kB / 420 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2107, allocations: 171.3 kB / 420.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2109, allocations: 207.2 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.2111, allocations: 263 kB / 420.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.2112, allocations: 40 kB / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.2115, allocations: 275.8 kB / 420.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.2116, allocations: 103.5 kB / 421 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2118, allocations: 242.8 kB / 421.2 MB, free: 17.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.2123, allocations: 0.662 MB / 421.9 MB, free: 17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2123, allocations: 0 / 421.9 MB, free: 17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2123, allocations: 0 / 421.9 MB, free: 17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2123, allocations: 0 / 421.9 MB, free: 17 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.005225/0.2175, allocations: 1.513 MB / 423.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2176, allocations: 11.89 kB / 423.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/0.2177, allocations: 74.72 kB / 423.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2178, allocations: 52.38 kB / 423.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.2181, allocations: 347.4 kB / 423.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2182, allocations: 33.38 kB / 423.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.2182, allocations: 40.38 kB / 424 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.2189, allocations: 0.5854 MB / 424.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.219, allocations: 3.938 kB / 424.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.219, allocations: 16 kB / 424.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.219, allocations: 15.98 kB / 424.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.2196, allocations: 0.5271 MB / 425.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.222, allocations: 2.277 MB / 427.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.2229, allocations: 0.8414 MB / 428.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.2233, allocations: 330.1 kB / 428.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.2234, allocations: 12.44 kB / 428.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2234, allocations: 42.94 kB / 428.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.874e-06/0.2234, allocations: 3.938 kB / 428.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006613/0.23, allocations: 2.034 MB / 430.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2301, allocations: 111.2 kB / 430.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2303, allocations: 266.9 kB / 431 MB, free: 7.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.2303, allocations: 45.7 kB / 431.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.2304, allocations: 185.2 kB / 431.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.2305, allocations: 185.3 kB / 431.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2307, allocations: 114.3 kB / 431.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.2308, allocations: 342.8 kB / 431.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.2311, allocations: 325.2 kB / 432.2 MB, free: 6.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.2316, allocations: 381.7 kB / 432.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.2324, allocations: 0.7172 MB / 433.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2324, allocations: 0 / 433.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003153/0.2356, allocations: 1.344 MB / 434.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2356, allocations: 11.94 kB / 434.6 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2356, allocations: 0 / 434.6 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.2389, allocations: 0.789 MB / 435.4 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.2393, allocations: 99.89 kB / 435.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/0.2458, allocations: 4.176 MB / 439.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2463, allocations: 67.36 kB / 439.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.2464, allocations: 16 kB / 439.8 MB, free: 14.46 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.0002159/0.2466, allocations: 177.7 kB / 439.9 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.2467, allocations: 35.53 kB / 440 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/0.2503, allocations: 1.311 MB / 441.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2503, allocations: 12 kB / 441.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2503, allocations: 3.938 kB / 441.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.2504, allocations: 3.984 kB / 441.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.2545, allocations: 1.977 MB / 443.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2546, allocations: 3.938 kB / 443.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.2548, allocations: 75.89 kB / 443.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/0.2584, allocations: 0.7573 MB / 444.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.2584, allocations: 12 kB / 444.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006956/0.2654, allocations: 4.142 MB / 448.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2654, allocations: 3.938 kB / 448.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.2689, allocations: 1.308 MB / 449.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.269, allocations: 128.4 kB / 449.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.2691, allocations: 12 kB / 449.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.2695, allocations: 27.42 kB / 449.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2696, allocations: 44.5 kB / 449.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.2697, allocations: 16 kB / 449.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.2699, allocations: 190 kB / 450 MB, free: 3.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2699, allocations: 0 / 450 MB, free: 3.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006356/0.2705, allocations: 207.8 kB / 450.2 MB, free: 3.777 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.003697/0.2743, allocations: 1.868 MB / 452.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.2771, allocations: 1.151 MB / 453.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2771, allocations: 0 / 453.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.279, allocations: 0.7319 MB / 453.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.2795, allocations: 41.83 kB / 454 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.2901, allocations: 5.513 MB / 459.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2905, allocations: 0.8217 MB / 460.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.2907, allocations: 63.23 kB / 460.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2909, allocations: 147.4 kB / 460.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of SimCode: time 1.031e-06/0.2909, allocations: 0 / 460.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.3269, allocations: 15.79 MB / 476.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 12.19 kB / 476.3 MB, free: 9.684 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)