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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0008966/0.0008966, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009304/0.0009305, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.255/1.255, allocations: 223.2 MB / 240.6 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1552/0.1552, allocations: 8.086 MB / 299.7 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 12 kB / 362.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09621, allocations: 52.52 MB / 415.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.00242/0.09868, allocations: 2.148 MB / 417.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1009, allocations: 1.575 MB / 419.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.101, allocations: 8 kB / 419.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1014, allocations: 119.3 kB / 419.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.1018, allocations: 227.3 kB / 419.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1036, allocations: 1.012 MB / 420.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.1041, allocations: 343.2 kB / 420.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1044, allocations: 140 kB / 420.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1045, allocations: 167.4 kB / 421.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1048, allocations: 227.1 kB / 421.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.1049, allocations: 24 kB / 421.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1053, allocations: 227.7 kB / 421.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.1054, allocations: 75.72 kB / 421.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.1055, allocations: 105.5 kB / 421.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.106, allocations: 478.8 kB / 422.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.106, allocations: 4 kB / 422.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.106, allocations: 0 / 422.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1061, allocations: 0 / 422.2 MB, free: 1.762 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.005443/0.1115, allocations: 1.443 MB / 423.6 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1116, allocations: 8.031 kB / 423.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.1117, allocations: 82.47 kB / 423.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.1118, allocations: 51.42 kB / 423.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1595/0.2713, allocations: 341.3 kB / 424.1 MB, free: 40.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.2714, allocations: 29.5 kB / 424.1 MB, free: 40.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2715, allocations: 44.09 kB / 424.2 MB, free: 40.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.2725, allocations: 0.5681 MB / 424.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2725, allocations: 1.938 kB / 424.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.2725, allocations: 19.11 kB / 424.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.2726, allocations: 8.156 kB / 424.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.2733, allocations: 0.5285 MB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.2761, allocations: 2.308 MB / 427.6 MB, free: 39.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.2771, allocations: 0.8423 MB / 428.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.25e-05/0.2772, allocations: 17.12 kB / 428.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2772, allocations: 37.47 kB / 428.5 MB, free: 39.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.2772, allocations: 0 / 428.5 MB, free: 39.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006585/0.2838, allocations: 2.01 MB / 430.5 MB, free: 39.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2839, allocations: 110.3 kB / 430.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.2842, allocations: 267.4 kB / 430.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.2843, allocations: 39.53 kB / 430.9 MB, free: 38.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.2844, allocations: 187.9 kB / 431.1 MB, free: 38.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2845, allocations: 179.3 kB / 431.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.2845, allocations: 13.12 kB / 431.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.2846, allocations: 349 kB / 431.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.285, allocations: 322.4 kB / 432 MB, free: 38.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.2855, allocations: 370.7 kB / 432.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.286, allocations: 358.9 kB / 432.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.286, allocations: 0 / 432.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003099/0.2892, allocations: 1.343 MB / 434 MB, free: 37.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2892, allocations: 5.109 kB / 434 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2892, allocations: 3.234 kB / 434 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.2925, allocations: 0.7821 MB / 434.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.2929, allocations: 102.1 kB / 434.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.2988, allocations: 3.977 MB / 438.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.2993, allocations: 56.17 kB / 438.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2993, allocations: 23.06 kB / 439 MB, free: 34.8 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.2995, allocations: 172.6 kB / 439.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.2996, allocations: 38.5 kB / 439.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.3027, allocations: 1.313 MB / 440.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3027, allocations: 12.39 kB / 440.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3027, allocations: 0 / 440.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3027, allocations: 3.469 kB / 440.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.3062, allocations: 1.986 MB / 442.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3062, allocations: 0 / 442.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3065, allocations: 79.67 kB / 442.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/0.3096, allocations: 0.7533 MB / 443.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.3097, allocations: 7.312 kB / 443.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/0.3154, allocations: 3.923 MB / 447.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3154, allocations: 0 / 447.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.3185, allocations: 1.304 MB / 448.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3186, allocations: 128.4 kB / 448.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.3186, allocations: 11.95 kB / 448.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.319, allocations: 27.39 kB / 448.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3192, allocations: 49.3 kB / 448.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.3192, allocations: 17.09 kB / 448.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3194, allocations: 188.8 kB / 449 MB, free: 29.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3194, allocations: 0 / 449 MB, free: 29.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006747/0.3201, allocations: 199.5 kB / 449.2 MB, free: 29.46 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/0.3231, allocations: 1.874 MB / 451 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.3253, allocations: 1.097 MB / 452.1 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3253, allocations: 0 / 452.1 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.3269, allocations: 0.708 MB / 452.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3272, allocations: 30.25 kB / 452.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3286, allocations: 1.308 MB / 454.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3288, allocations: 0.8293 MB / 455 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.329, allocations: 69.42 kB / 455.1 MB, free: 25.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3292, allocations: 145.8 kB / 455.2 MB, free: 25.78 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3292, allocations: 0 / 455.2 MB, free: 25.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.3572, allocations: 14.36 MB / 469.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.3574, allocations: 241.1 kB / 469.8 MB, free: 24.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.109, allocations: 0 / 469.8 MB, free: 24.19 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/linux/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) Environment - environmentSimulation: