Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.004941/0.004941, allocations: 89 kB / 15.91 MB, free: 6.305 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.001201/0.001201, allocations: 197.2 kB / 16.83 MB, free: 6.238 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.238/1.238, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1358/0.1358, allocations: 8.094 MB / 298.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 59.91 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08399, allocations: 51.53 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003285/0.08731, allocations: 2.696 MB / 415.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.08949, allocations: 1.625 MB / 417 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.08962, allocations: 8 kB / 417 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.08999, allocations: 143.4 kB / 417.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.09041, allocations: 202.9 kB / 417.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.09234, allocations: 1.199 MB / 418.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.09282, allocations: 433.8 kB / 419 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.09304, allocations: 153.7 kB / 419.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.09319, allocations: 179.3 kB / 419.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.09345, allocations: 227 kB / 419.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.09351, allocations: 28 kB / 419.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.09393, allocations: 263.7 kB / 419.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.09401, allocations: 79.69 kB / 419.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.09419, allocations: 214.9 kB / 420.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.09477, allocations: 0.627 MB / 420.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09478, allocations: 0 / 420.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.09479, allocations: 0 / 420.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.0948, allocations: 0 / 420.7 MB, free: 1.996 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004997/0.0998, allocations: 1.392 MB / 422.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.09985, allocations: 20.02 kB / 422.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.545e-05/0.09994, allocations: 74.72 kB / 422.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1001, allocations: 48.47 kB / 422.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1004, allocations: 335.4 kB / 422.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1005, allocations: 29.03 kB / 422.6 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.1005, allocations: 36.42 kB / 422.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.1013, allocations: 0.5139 MB / 423.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1013, allocations: 3.938 kB / 423.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.1014, allocations: 20 kB / 423.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1014, allocations: 8 kB / 423.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.102, allocations: 442.5 kB / 423.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.1046, allocations: 2.114 MB / 425.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.1055, allocations: 0.5738 MB / 426.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.1059, allocations: 276.8 kB / 426.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.912e-05/0.106, allocations: 11.98 kB / 426.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.106, allocations: 42.5 kB / 426.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.106, allocations: 0 / 426.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007353/0.1134, allocations: 1.947 MB / 428.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1135, allocations: 110.8 kB / 428.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1137, allocations: 270.9 kB / 428.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.1138, allocations: 37.7 kB / 429 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1139, allocations: 184.6 kB / 429.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.114, allocations: 141.9 kB / 429.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1142, allocations: 110.2 kB / 429.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1143, allocations: 346.8 kB / 429.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.1147, allocations: 281 kB / 430 MB, free: 8.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.1152, allocations: 332.7 kB / 430.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.1161, allocations: 0.6256 MB / 431 MB, free: 7.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1161, allocations: 0 / 431 MB, free: 7.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003422/0.1196, allocations: 1.244 MB / 432.2 MB, free: 6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1196, allocations: 4 kB / 432.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1196, allocations: 0 / 432.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.1232, allocations: 0.7772 MB / 433 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.1236, allocations: 91.89 kB / 433.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.13, allocations: 3.68 MB / 436.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1304, allocations: 51.52 kB / 436.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.1305, allocations: 20 kB / 436.8 MB, free: 1.246 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 (51): * Single equations (assignments): 50 * 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.0001886/0.1307, allocations: 157.8 kB / 437 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.1308, allocations: 39.47 kB / 437 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1444/0.2751, allocations: 1.175 MB / 438.2 MB, free: 56.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.2752, allocations: 7.688 kB / 438.2 MB, free: 56.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.2752, allocations: 0 / 438.2 MB, free: 56.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2752, allocations: 3.047 kB / 438.2 MB, free: 56.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.2788, allocations: 1.762 MB / 440 MB, free: 56.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2788, allocations: 0 / 440 MB, free: 56.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.279, allocations: 61.09 kB / 440 MB, free: 56.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/0.2822, allocations: 0.7436 MB / 440.8 MB, free: 56.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2823, allocations: 10.25 kB / 440.8 MB, free: 56.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.2876, allocations: 3.63 MB / 444.4 MB, free: 54.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2876, allocations: 0 / 444.4 MB, free: 54.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.2904, allocations: 1.188 MB / 445.6 MB, free: 54.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.2905, allocations: 119.4 kB / 445.7 MB, free: 54.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.2906, allocations: 15.09 kB / 445.7 MB, free: 54.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.2909, allocations: 24.02 kB / 445.8 MB, free: 54.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.291, allocations: 37.78 kB / 445.8 MB, free: 54.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.2911, allocations: 16.78 kB / 445.8 MB, free: 54.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.2912, allocations: 188.3 kB / 446 MB, free: 54.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2912, allocations: 0 / 446 MB, free: 54.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000551/0.2918, allocations: 192.5 kB / 446.2 MB, free: 54.04 MB / 366.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 (35): * Single equations (assignments): 34 * 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.003028/0.2948, allocations: 1.75 MB / 447.9 MB, free: 53.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.2969, allocations: 1.001 MB / 448.9 MB, free: 52.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2969, allocations: 3.344 kB / 448.9 MB, free: 52.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.2984, allocations: 0.6528 MB / 449.6 MB, free: 52.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2988, allocations: 39.39 kB / 449.6 MB, free: 52.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/0.3074, allocations: 5.295 MB / 454.9 MB, free: 49.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3076, allocations: 0.8112 MB / 455.7 MB, free: 48.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.3078, allocations: 55.67 kB / 455.8 MB, free: 48.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.308, allocations: 139.4 kB / 455.9 MB, free: 48.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.308, allocations: 0 / 455.9 MB, free: 48.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6856/0.9936, allocations: 14.04 MB / 470 MB, free: 47.51 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01262/1.006, allocations: 274.9 kB / 470.2 MB, free: 47.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.871, allocations: 0 / 470.2 MB, free: 47.14 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)