Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001498/0.001498, allocations: 102.9 kB / 16.45 MB, free: 6.438 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.001686/0.001687, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.269/1.269, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.047/0.047, allocations: 8.109 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 413.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08569, allocations: 51.52 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002386/0.08812, allocations: 1.267 MB / 466.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.08978, allocations: 1.255 MB / 468 MB, free: 148 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.08988, allocations: 4 kB / 468 MB, free: 144 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.09023, allocations: 103.5 kB / 468.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.09047, allocations: 55.61 kB / 468.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.09164, allocations: 0.739 MB / 468.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.09188, allocations: 135.3 kB / 469 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.09205, allocations: 65.45 kB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.09211, allocations: 51.86 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.09222, allocations: 67.69 kB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.09225, allocations: 20 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.09252, allocations: 147.8 kB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.09256, allocations: 27.92 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.09262, allocations: 63.67 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.09298, allocations: 262.9 kB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.09299, allocations: 3.938 kB / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.093, allocations: 0 / 469.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.09301, allocations: 0 / 469.7 MB, free: 14.42 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001172/0.09418, allocations: 0.5575 MB / 470.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.09423, allocations: 11.89 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.09427, allocations: 42.73 kB / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.09432, allocations: 16.75 kB / 470.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.0945, allocations: 204.2 kB / 470.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.09453, allocations: 16.38 kB / 470.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.09456, allocations: 12.38 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.09482, allocations: 146.2 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.09484, allocations: 7.875 kB / 470.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.09486, allocations: 8 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.09487, allocations: 7.984 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.09505, allocations: 108 kB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.09578, allocations: 0.5234 MB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.09657, allocations: 150.5 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.09665, allocations: 44.8 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.09679, allocations: 85.09 kB / 471.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.09682, allocations: 42.69 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.09683, allocations: 0 / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0011/0.09793, allocations: 343.3 kB / 472 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.09798, allocations: 59.28 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.09808, allocations: 137.2 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.09811, allocations: 25.7 kB / 472.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.09818, allocations: 132 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.09821, allocations: 27.56 kB / 472.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.09827, allocations: 29.7 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.09837, allocations: 322.8 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.09845, allocations: 39.98 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.09853, allocations: 61.52 kB / 472.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.09869, allocations: 101.7 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.0987, allocations: 4 kB / 472.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004562/0.09916, allocations: 210.2 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.09919, allocations: 10.34 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.0992, allocations: 0 / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.09961, allocations: 84.73 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.09969, allocations: 15.98 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.1012, allocations: 1.644 MB / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.1013, allocations: 11.88 kB / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1014, allocations: 8.062 kB / 474.9 MB, free: 8.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.716e-05/0.1015, allocations: 121.8 kB / 475 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.1015, allocations: 8.281 kB / 475 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.102, allocations: 202.7 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.102, allocations: 0 / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.102, allocations: 4 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.102, allocations: 3.938 kB / 475.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1022, allocations: 233.4 kB / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1022, allocations: 0 / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.1023, allocations: 23.92 kB / 475.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003302/0.1026, allocations: 72.77 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1027, allocations: 12 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.1041, allocations: 1.629 MB / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1041, allocations: 0 / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.1045, allocations: 284.2 kB / 477.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.1046, allocations: 85.02 kB / 477.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1046, allocations: 4 kB / 477.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.1047, allocations: 0 / 477.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1047, allocations: 7.984 kB / 477.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1048, allocations: 8 kB / 477.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.574e-05/0.1048, allocations: 95.27 kB / 477.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1048, allocations: 7.938 kB / 477.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.1052, allocations: 51.78 kB / 477.7 MB, free: 5.707 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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007161/0.1059, allocations: 0.8266 MB / 478.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006093/0.1065, allocations: 270.7 kB / 478.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1065, allocations: 0 / 478.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.1069, allocations: 202.6 kB / 479 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1071, allocations: 8.062 kB / 479 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1092, allocations: 1.77 MB / 480.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1095, allocations: 0.708 MB / 481.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.1095, allocations: 16.64 kB / 481.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1096, allocations: 39.42 kB / 481.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1096, allocations: 0 / 481.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.13, allocations: 3.627 MB / 485.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/9.033, allocations: 11.81 kB / 485.2 MB, free: 14.14 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)