Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.0007611/0.0007611, allocations: 96.86 kB / 15.74 MB, free: 424 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.0008109/0.0008109, allocations: 176.6 kB / 16.62 MB, free: 6.43 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.231/1.231, allocations: 223.3 MB / 240.7 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.149/0.149, allocations: 8.082 MB / 299.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 8 kB / 363 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08439, allocations: 52.52 MB / 415.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001477/0.0859, allocations: 1.206 MB / 416.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.08774, allocations: 1.462 MB / 418.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.08789, allocations: 4 kB / 418.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.08819, allocations: 91.59 kB / 418.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.08852, allocations: 119.3 kB / 418.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.09012, allocations: 0.9538 MB / 419.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.09045, allocations: 218.8 kB / 419.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.09059, allocations: 64.09 kB / 419.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.09072, allocations: 83.64 kB / 419.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.09094, allocations: 119.5 kB / 419.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.09098, allocations: 12 kB / 419.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.09147, allocations: 227.8 kB / 420 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.09152, allocations: 35.84 kB / 420 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.0916, allocations: 65.58 kB / 420.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.09204, allocations: 299.5 kB / 420.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09205, allocations: 0 / 420.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09206, allocations: 3.938 kB / 420.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.09207, allocations: 0 / 420.4 MB, free: 3.672 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002641/0.09472, allocations: 0.885 MB / 421.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.09476, allocations: 8.031 kB / 421.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.09484, allocations: 46.55 kB / 421.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.09492, allocations: 31.67 kB / 421.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.09521, allocations: 242.7 kB / 421.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.09524, allocations: 16.33 kB / 421.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.09528, allocations: 16 kB / 421.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.09573, allocations: 297.4 kB / 421.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.09575, allocations: 0 / 421.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.09578, allocations: 8 kB / 421.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.09579, allocations: 7.953 kB / 421.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.09615, allocations: 243.9 kB / 422.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.0976, allocations: 1.153 MB / 423.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.09817, allocations: 302.4 kB / 423.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.09839, allocations: 168.8 kB / 423.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.09846, allocations: 4.438 kB / 423.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1595/0.258, allocations: 35.31 kB / 423.8 MB, free: 41.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.577e-06/0.258, allocations: 0.6875 kB / 423.8 MB, free: 41.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.002838/0.2609, allocations: 0.9548 MB / 424.8 MB, free: 41.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.2609, allocations: 84.69 kB / 424.9 MB, free: 41.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2611, allocations: 205.7 kB / 425.1 MB, free: 40.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2612, allocations: 33.48 kB / 425.1 MB, free: 40.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.2613, allocations: 138 kB / 425.2 MB, free: 40.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.2613, allocations: 80.08 kB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.2613, allocations: 12 kB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2614, allocations: 330.6 kB / 425.7 MB, free: 40.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.2616, allocations: 161.7 kB / 425.8 MB, free: 40.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.2619, allocations: 188.9 kB / 426 MB, free: 40.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.2621, allocations: 182.6 kB / 426.2 MB, free: 40.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2621, allocations: 0 / 426.2 MB, free: 40.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001452/0.2636, allocations: 0.6826 MB / 426.9 MB, free: 40.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2636, allocations: 7.406 kB / 426.9 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2636, allocations: 0 / 426.9 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.2651, allocations: 381.7 kB / 427.2 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.2653, allocations: 52.14 kB / 427.3 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.2686, allocations: 2.513 MB / 429.8 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.2688, allocations: 33.75 kB / 429.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2688, allocations: 9.938 kB / 429.8 MB, free: 39.04 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 (31): * Single equations (assignments): 30 * 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 {6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.269, allocations: 144.3 kB / 430 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.269, allocations: 24.78 kB / 430 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.2705, allocations: 0.6542 MB / 430.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2705, allocations: 4.359 kB / 430.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2705, allocations: 0 / 430.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2705, allocations: 0 / 430.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.2709, allocations: 389.9 kB / 431.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2709, allocations: 0.5625 kB / 431.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.271, allocations: 38.19 kB / 431.1 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.2724, allocations: 372.8 kB / 431.5 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2725, allocations: 16.62 kB / 431.5 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/0.2755, allocations: 2.49 MB / 434 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2755, allocations: 0.75 kB / 434 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.2769, allocations: 0.7054 MB / 434.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.2769, allocations: 99.78 kB / 434.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.277, allocations: 10.5 kB / 434.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2772, allocations: 20.97 kB / 434.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.2772, allocations: 24.48 kB / 434.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.2773, allocations: 7.125 kB / 434.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.2774, allocations: 155.9 kB / 435 MB, free: 36.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2774, allocations: 0 / 435 MB, free: 36.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.2778, allocations: 98.86 kB / 435.1 MB, free: 36.77 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 (22): * Single equations (assignments): 21 * 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 {6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/0.2793, allocations: 1.259 MB / 436.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.2806, allocations: 0.627 MB / 437 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2806, allocations: 7.406 kB / 437 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.2815, allocations: 443.5 kB / 437.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.2818, allocations: 33.53 kB / 437.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.2845, allocations: 1.863 MB / 439.3 MB, free: 34.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.2847, allocations: 0.7489 MB / 440 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.2848, allocations: 27.44 kB / 440.1 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.2849, allocations: 74.22 kB / 440.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2849, allocations: 0 / 440.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.3033, allocations: 7.947 MB / 448.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.3035, allocations: 217.1 kB / 448.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.022, allocations: 0 / 448.3 MB, free: 32.75 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) Environment - environmentSimulation: