Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.005347/0.005353, allocations: 88.75 kB / 15.91 MB, free: 6.312 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.001438/0.001438, allocations: 195.1 kB / 16.83 MB, free: 6.242 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.268/1.268, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1528/0.1528, allocations: 8.086 MB / 298.7 MB, free: 2.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 63.89 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08522, allocations: 51.52 MB / 412.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002031/0.08728, allocations: 0.9954 MB / 413.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.08849, allocations: 1.166 MB / 414.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.08852, allocations: 0 / 414.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.08873, allocations: 47.84 kB / 414.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.08883, allocations: 19.91 kB / 414.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.326e-05/0.0889, allocations: 27.92 kB / 414.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.08896, allocations: 55.72 kB / 415 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.08905, allocations: 27.97 kB / 415 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.08908, allocations: 19.94 kB / 415 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.0892, allocations: 31.84 kB / 415 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.08922, allocations: 4 kB / 415 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.08934, allocations: 59.91 kB / 415.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.08936, allocations: 4 kB / 415.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.08939, allocations: 27.86 kB / 415.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.08955, allocations: 111.9 kB / 415.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.08956, allocations: 0 / 415.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.08957, allocations: 0 / 415.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.08958, allocations: 4 kB / 415.2 MB, free: 7.488 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005412/0.09012, allocations: 387.3 kB / 415.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.09016, allocations: 11.97 kB / 415.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.09021, allocations: 38.75 kB / 415.7 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.09024, allocations: 4.844 kB / 415.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/0.09033, allocations: 168.4 kB / 415.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.09035, allocations: 8.312 kB / 415.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.09037, allocations: 8.375 kB / 415.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.09054, allocations: 76.42 kB / 415.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.09056, allocations: 11.88 kB / 415.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.09057, allocations: 4 kB / 415.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.09058, allocations: 7.938 kB / 416 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.09066, allocations: 39.98 kB / 416 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.09106, allocations: 344.5 kB / 416.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.09112, allocations: 34.56 kB / 416.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.09114, allocations: 8.844 kB / 416.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.373e-05/0.09124, allocations: 81.17 kB / 416.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.09127, allocations: 30.56 kB / 416.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.09128, allocations: 0 / 416.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001299/0.09142, allocations: 53.56 kB / 416.5 MB, free: 6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.09145, allocations: 51.41 kB / 416.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.0916, allocations: 126 kB / 416.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.09162, allocations: 25.7 kB / 416.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.09167, allocations: 111.8 kB / 416.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-06/0.09169, allocations: 3.906 kB / 416.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.09173, allocations: 21.7 kB / 416.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.09188, allocations: 314.8 kB / 417.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.09191, allocations: 8 kB / 417.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.09194, allocations: 19.98 kB / 417.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.09199, allocations: 28.86 kB / 417.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.092, allocations: 0 / 417.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.648e-05/0.0921, allocations: 65.62 kB / 417.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.09212, allocations: 4 kB / 417.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.09213, allocations: 0 / 417.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.09214, allocations: 3.938 kB / 417.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.09221, allocations: 11.98 kB / 417.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.09222, allocations: 192 / 417.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.09228, allocations: 15.84 kB / 417.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.09229, allocations: 0 / 417.3 MB, free: 5.148 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.09236, allocations: 117.8 kB / 417.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.0924, allocations: 0 / 417.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.09249, allocations: 57.09 kB / 417.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.0925, allocations: 3.938 kB / 417.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.09251, allocations: 0 / 417.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.09252, allocations: 4 kB / 417.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.09268, allocations: 169.6 kB / 417.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.09269, allocations: 0 / 417.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.09271, allocations: 4 kB / 417.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.09272, allocations: 4.031 kB / 417.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.09273, allocations: 0 / 417.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.09274, allocations: 7.938 kB / 417.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.09274, allocations: 3.938 kB / 417.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.09285, allocations: 131.5 kB / 417.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.0929, allocations: 92.95 kB / 417.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.09291, allocations: 0 / 417.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.09298, allocations: 7.969 kB / 417.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-06/0.09299, allocations: 0 / 417.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.093, allocations: 0 / 417.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.09306, allocations: 95.27 kB / 418 MB, free: 4.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09306, allocations: 0 / 418 MB, free: 4.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.09329, allocations: 16 kB / 418 MB, free: 4.348 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003543/0.09365, allocations: 0.6695 MB / 418.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.09375, allocations: 31.92 kB / 418.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.09376, allocations: 0 / 418.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.09378, allocations: 4 kB / 418.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.09397, allocations: 7.938 kB / 418.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.09436, allocations: 210.3 kB / 418.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.09462, allocations: 0.6887 MB / 419.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.09465, allocations: 3.984 kB / 419.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.09468, allocations: 19.44 kB / 419.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09469, allocations: 4 kB / 419.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.1055, allocations: 1.454 MB / 421.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.1057, allocations: 170.5 kB / 421.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.651, allocations: 0 / 421.3 MB, free: 0.9648 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)