Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_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.005704/0.005704, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.359/1.359, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001685/0.001685, allocations: 196.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5065/0.5065, allocations: 91.96 MB / 431.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 78.69 kB / 0.5723 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1121, allocations: 71.3 MB / 0.642 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.008311/0.1205, allocations: 7.523 MB / 0.6493 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.1249, allocations: 2.293 MB / 0.6516 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.126, allocations: 12 kB / 0.6516 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.1267, allocations: 289.6 kB / 0.6518 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.1293, allocations: 1.001 MB / 0.6528 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1307, allocations: 0.6721 MB / 0.6535 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.1329, allocations: 1.862 MB / 0.6553 GB, free: 6.301 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.1335, allocations: 345.2 kB / 0.6556 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009543/0.1345, allocations: 0.7664 MB / 0.6564 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1356, allocations: 0.9957 MB / 0.6573 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.1358, allocations: 148 kB / 0.6575 GB, free: 4.027 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.1365, allocations: 379.7 kB / 0.6578 GB, free: 3.656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.1369, allocations: 382.4 kB / 0.6582 GB, free: 3.281 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.1376, allocations: 0.7924 MB / 0.659 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.1398, allocations: 2.015 MB / 0.661 GB, free: 472 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1399, allocations: 11.94 kB / 0.661 GB, free: 460 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1399, allocations: 0 / 0.661 GB, free: 460 kB / 462.1 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.1399, allocations: 4 kB / 0.661 GB, free: 456 kB / 462.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.01276/0.1527, allocations: 3.569 MB / 0.6645 GB, free: 12.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1527, allocations: 8.031 kB / 0.6645 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.1529, allocations: 139.2 kB / 0.6646 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/0.1573, allocations: 0.7327 MB / 0.6653 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1589, allocations: 0.9791 MB / 0.6663 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.1594, allocations: 357.3 kB / 0.6666 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.1596, allocations: 99.94 kB / 0.6667 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.1622, allocations: 1.293 MB / 0.668 GB, free: 9.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1622, allocations: 0 / 0.668 GB, free: 9.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.1623, allocations: 32 kB / 0.668 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1624, allocations: 24 kB / 0.668 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.165, allocations: 1.214 MB / 0.6692 GB, free: 7.82 MB / 478.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.008035/0.1731, allocations: 4.42 MB / 0.6735 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007834/0.1809, allocations: 2.52 MB / 0.676 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.1828, allocations: 0.8484 MB / 0.6768 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.183, allocations: 20.98 kB / 0.6768 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.183, allocations: 51.55 kB / 0.6769 GB, free: 15.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=111): time 2.995e-06/0.183, allocations: 0 / 0.6769 GB, free: 15.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=111): time 0.04922/0.2323, allocations: 11.36 MB / 0.688 GB, free: 4.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.2324, allocations: 94.05 kB / 0.6881 GB, free: 4.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.2342, allocations: 1.184 MB / 0.6892 GB, free: 2.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.2344, allocations: 49.7 kB / 0.6893 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.2349, allocations: 0.5415 MB / 0.6898 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.2353, allocations: 432.3 kB / 0.6902 GB, free: 1.918 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.2359, allocations: 279.5 kB / 0.6905 GB, free: 1.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.236, allocations: 309 kB / 0.6908 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.238, allocations: 0.8863 MB / 0.6916 GB, free: 460 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.2401, allocations: 1.069 MB / 0.6927 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.2441, allocations: 1.953 MB / 0.6946 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.2441, allocations: 7.938 kB / 0.6946 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01774/0.2619, allocations: 5.321 MB / 0.6998 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.262, allocations: 11.98 kB / 0.6998 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.262, allocations: 7.938 kB / 0.6998 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00954/0.2715, allocations: 2.561 MB / 0.7023 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2728, allocations: 239.6 kB / 0.7025 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.2794, allocations: 2.752 MB / 0.7052 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.2815, allocations: 210.9 kB / 0.7054 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.2817, allocations: 55.92 kB / 0.7055 GB, free: 2.125 MB / 0.4981 GB 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.0005376/0.2822, allocations: 273.5 kB / 0.7057 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.2825, allocations: 143.1 kB / 0.7059 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.2991, allocations: 4.789 MB / 0.7106 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.2991, allocations: 12 kB / 0.7106 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2991, allocations: 8 kB / 0.7106 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.2992, allocations: 3.984 kB / 0.7106 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.3185, allocations: 6.539 MB / 0.717 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.3186, allocations: 3.984 kB / 0.717 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/0.3192, allocations: 103.9 kB / 0.7171 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008626/0.3278, allocations: 2.329 MB / 0.7193 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.3281, allocations: 27.98 kB / 0.7194 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02874/0.3568, allocations: 10.76 MB / 0.7299 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.3569, allocations: 3.984 kB / 0.7299 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/0.3766, allocations: 5.962 MB / 0.7357 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.3772, allocations: 247.9 kB / 0.7359 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.3774, allocations: 24 kB / 0.736 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.3788, allocations: 107.9 kB / 0.7361 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000813/0.3796, allocations: 241.1 kB / 0.7363 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/0.3797, allocations: 28 kB / 0.7363 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00118/0.3809, allocations: 0.8013 MB / 0.7371 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3809, allocations: 0 / 0.7371 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001399/0.3823, allocations: 0.4957 MB / 0.7376 GB, free: 0.9023 MB / 0.5294 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.01989/0.4022, allocations: 6.542 MB / 0.744 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008739/0.4109, allocations: 2.651 MB / 0.7466 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.411, allocations: 0 / 0.7466 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006336/0.4173, allocations: 1.859 MB / 0.7484 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4185, allocations: 128.2 kB / 0.7485 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04963/0.4681, allocations: 18.99 MB / 0.767 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.469, allocations: 1.155 MB / 0.7682 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005103/0.4695, allocations: 116.5 kB / 0.7683 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007507/0.4703, allocations: 0.5227 MB / 0.7688 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.4703, allocations: 0 / 0.7688 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/0.7683, allocations: 40.3 MB / 0.8082 GB, free: 96.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.4, allocations: 11.69 kB / 0.8082 GB, free: 96.21 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)