Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.0009145/0.0009147, allocations: 96.86 kB / 16.06 MB, free: 40 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.001082/0.001082, allocations: 181.3 kB / 16.96 MB, free: 6.895 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.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1547/0.1547, allocations: 8.076 MB / 300.2 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09244, allocations: 52.52 MB / 416.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001253/0.09373, allocations: 0.8584 MB / 417 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.09559, allocations: 1.423 MB / 418.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.09571, allocations: 7.938 kB / 418.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.09606, allocations: 95.66 kB / 418.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.0963, allocations: 63.67 kB / 418.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.09759, allocations: 0.7121 MB / 419.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.09783, allocations: 127.4 kB / 419.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.09795, allocations: 41.08 kB / 419.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.09804, allocations: 55.72 kB / 419.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.09814, allocations: 59.75 kB / 419.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.09817, allocations: 8 kB / 419.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.09852, allocations: 159.8 kB / 419.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.09857, allocations: 27.84 kB / 419.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.09866, allocations: 77.44 kB / 419.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.09918, allocations: 259.5 kB / 420.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0992, allocations: 0 / 420.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09921, allocations: 0 / 420.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.09922, allocations: 3.938 kB / 420.1 MB, free: 4.312 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001581/0.1008, allocations: 0.5694 MB / 420.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1009, allocations: 8.031 kB / 420.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.1009, allocations: 42.73 kB / 420.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.101, allocations: 16.75 kB / 420.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1012, allocations: 208.2 kB / 420.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1012, allocations: 8.609 kB / 420.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1012, allocations: 12.38 kB / 420.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.1015, allocations: 168 kB / 421.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1016, allocations: 3.938 kB / 421.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1016, allocations: 8 kB / 421.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1016, allocations: 0 / 421.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.1018, allocations: 148.6 kB / 421.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008926/0.1027, allocations: 0.5791 MB / 421.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.103, allocations: 154.5 kB / 422 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1031, allocations: 68.84 kB / 422 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.1032, allocations: 7.984 kB / 422.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1032, allocations: 42.55 kB / 422.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1032, allocations: 0 / 422.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000944/0.1042, allocations: 383.6 kB / 422.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1042, allocations: 55.41 kB / 422.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1044, allocations: 169.7 kB / 422.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1044, allocations: 25.7 kB / 422.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.1045, allocations: 120.2 kB / 422.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1045, allocations: 47.3 kB / 422.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.1046, allocations: 29.7 kB / 422.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1047, allocations: 318.8 kB / 423.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1048, allocations: 91.97 kB / 423.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.105, allocations: 94.14 kB / 423.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1053, allocations: 196.8 kB / 423.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1053, allocations: 0 / 423.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005239/0.1058, allocations: 302.3 kB / 423.9 MB, free: 236 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1058, allocations: 8 kB / 423.9 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1058, allocations: 0 / 423.9 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.1061, allocations: 52.75 kB / 423.9 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1063, allocations: 39.98 kB / 424 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1659/0.2722, allocations: 1.427 MB / 425.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.2724, allocations: 14.58 kB / 425.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2725, allocations: 9.812 kB / 425.4 MB, free: 39.64 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.2726, allocations: 131.3 kB / 425.6 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.2726, allocations: 10.47 kB / 425.6 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.2731, allocations: 241 kB / 425.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2731, allocations: 0.8438 kB / 425.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2731, allocations: 0 / 425.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2731, allocations: 0 / 425.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.2733, allocations: 265 kB / 426.1 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2734, allocations: 0 / 426.1 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.2734, allocations: 20.69 kB / 426.1 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.2736, allocations: 51.53 kB / 426.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2737, allocations: 3.531 kB / 426.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009014/0.2746, allocations: 1.438 MB / 427.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2746, allocations: 0 / 427.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.275, allocations: 310 kB / 427.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.275, allocations: 93.25 kB / 428 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.275, allocations: 5.594 kB / 428 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2752, allocations: 7.016 kB / 428 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.2752, allocations: 8.281 kB / 428 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2752, allocations: 8.438 kB / 428 MB, free: 37.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.2753, allocations: 127.2 kB / 428.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2753, allocations: 0 / 428.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.2756, allocations: 54.69 kB / 428.2 MB, free: 37.71 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/0.2763, allocations: 0.8503 MB / 429 MB, free: 37.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.2769, allocations: 327.9 kB / 429.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2769, allocations: 0 / 429.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.2772, allocations: 196.8 kB / 429.5 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2775, allocations: 12.72 kB / 429.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2797, allocations: 2.129 MB / 431.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2798, allocations: 0.7153 MB / 432.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.2799, allocations: 20.67 kB / 432.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.28, allocations: 44.45 kB / 432.5 MB, free: 34.85 MB / 350.1 MB Notification: Performance of SimCode: time 1.243e-06/0.28, allocations: 0 / 432.5 MB, free: 34.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2939, allocations: 3.534 MB / 436 MB, free: 34.55 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.294, allocations: 213.5 kB / 436.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.941, allocations: 3.188 kB / 436.2 MB, free: 34.29 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)