Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",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.008089/0.008089, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.429/1.429, allocations: 222.9 MB / 239.4 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 192.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4603/0.4603, allocations: 78.54 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 75.88 kB / 0.5531 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3544, allocations: 68.18 MB / 0.6197 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.00638/0.3608, allocations: 7.507 MB / 0.627 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.365, allocations: 2.282 MB / 0.6293 GB, free: 348 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.3661, allocations: 12 kB / 0.6293 GB, free: 336 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000849/0.367, allocations: 297.6 kB / 0.6296 GB, free: 36 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.3706, allocations: 1.211 MB / 0.6308 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3721, allocations: 0.5881 MB / 0.6313 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.3749, allocations: 2.014 MB / 0.6333 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.3755, allocations: 351.2 kB / 0.6336 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3767, allocations: 0.7743 MB / 0.6344 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.378, allocations: 1.008 MB / 0.6354 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004524/0.3785, allocations: 148 kB / 0.6355 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.3794, allocations: 375.7 kB / 0.6359 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.3799, allocations: 394.4 kB / 0.6362 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.3809, allocations: 0.804 MB / 0.637 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.3832, allocations: 2.02 MB / 0.639 GB, free: 6.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3833, allocations: 4 kB / 0.639 GB, free: 6.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3833, allocations: 0 / 0.639 GB, free: 6.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.663e-05/0.3833, allocations: 0 / 0.639 GB, free: 6.328 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.01533/0.3987, allocations: 3.867 MB / 0.6428 GB, free: 2.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3987, allocations: 8.031 kB / 0.6428 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/0.399, allocations: 147.2 kB / 0.6429 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/0.4038, allocations: 0.7238 MB / 0.6436 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.406, allocations: 0.9703 MB / 0.6446 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004607/0.4065, allocations: 365.3 kB / 0.6449 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003908/0.4069, allocations: 96.05 kB / 0.645 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.4098, allocations: 1.285 MB / 0.6463 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.4099, allocations: 3.984 kB / 0.6463 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.41, allocations: 28 kB / 0.6463 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.41, allocations: 27.94 kB / 0.6463 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.4129, allocations: 1.226 MB / 0.6475 GB, free: 13.41 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/0.4221, allocations: 4.407 MB / 0.6518 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/0.4301, allocations: 2.512 MB / 0.6543 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.4322, allocations: 0.8484 MB / 0.6551 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.4324, allocations: 24.97 kB / 0.6551 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.4324, allocations: 47.5 kB / 0.6552 GB, free: 5.254 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 3.236e-06/0.4324, allocations: 3.938 kB / 0.6552 GB, free: 5.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.05028/0.4827, allocations: 11.36 MB / 0.6663 GB, free: 9.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.4828, allocations: 90.11 kB / 0.6664 GB, free: 9.742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.4849, allocations: 1.187 MB / 0.6675 GB, free: 8.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003294/0.4852, allocations: 49.7 kB / 0.6676 GB, free: 8.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.4857, allocations: 0.5368 MB / 0.6681 GB, free: 7.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/0.4863, allocations: 406.2 kB / 0.6685 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/0.4871, allocations: 287.4 kB / 0.6688 GB, free: 7.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.4872, allocations: 305.1 kB / 0.6691 GB, free: 6.961 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.4893, allocations: 0.8824 MB / 0.6699 GB, free: 6.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.4918, allocations: 1.073 MB / 0.671 GB, free: 4.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.4964, allocations: 1.956 MB / 0.6729 GB, free: 2.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4964, allocations: 11.94 kB / 0.6729 GB, free: 2.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0192/0.5156, allocations: 5.304 MB / 0.6781 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.5157, allocations: 14.12 kB / 0.6781 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.5157, allocations: 12.25 kB / 0.6781 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.5259, allocations: 2.56 MB / 0.6806 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.5272, allocations: 239.7 kB / 0.6808 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/0.5342, allocations: 2.748 MB / 0.6835 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.5365, allocations: 206.5 kB / 0.6837 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/0.5368, allocations: 51.98 kB / 0.6837 GB, free: 7.773 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (144): * Single equations (assignments): 143 * 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 {(28,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0007579/0.5375, allocations: 273.5 kB / 0.684 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/0.5381, allocations: 146.2 kB / 0.6841 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/0.5554, allocations: 4.786 MB / 0.6888 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.5554, allocations: 12 kB / 0.6888 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5554, allocations: 0 / 0.6888 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/0.5555, allocations: 7.969 kB / 0.6888 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/0.5759, allocations: 6.531 MB / 0.6952 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.576, allocations: 0 / 0.6952 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.5767, allocations: 103.9 kB / 0.6953 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00906/0.5857, allocations: 2.341 MB / 0.6976 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.5861, allocations: 20 kB / 0.6976 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02965/0.6157, allocations: 10.75 MB / 0.7081 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6158, allocations: 0 / 0.7081 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/0.6361, allocations: 5.942 MB / 0.7139 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.6367, allocations: 246.9 kB / 0.7142 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/0.6371, allocations: 24 kB / 0.7142 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.6388, allocations: 111.9 kB / 0.7143 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008991/0.6397, allocations: 245 kB / 0.7145 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.6399, allocations: 27.98 kB / 0.7146 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001357/0.6413, allocations: 0.8013 MB / 0.7153 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6413, allocations: 7.938 kB / 0.7153 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001801/0.6431, allocations: 499.5 kB / 0.7158 GB, free: 6.582 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * 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 (64): * Single equations (assignments): 63 * 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 {(26,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02002/0.6632, allocations: 6.54 MB / 0.7222 GB, free: 12 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009212/0.6724, allocations: 2.636 MB / 0.7248 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6725, allocations: 0 / 0.7248 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0066/0.6791, allocations: 1.867 MB / 0.7266 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.6807, allocations: 120.8 kB / 0.7267 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05391/0.7346, allocations: 18.94 MB / 0.7452 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.7357, allocations: 1.163 MB / 0.7463 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.7364, allocations: 108.5 kB / 0.7465 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009176/0.7373, allocations: 0.5188 MB / 0.747 GB, free: 6.395 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.7373, allocations: 0 / 0.747 GB, free: 6.395 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3625/1.1, allocations: 42.02 MB / 0.788 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.87, allocations: 8.281 kB / 0.788 GB, free: 133.6 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)