Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 175.3 kB / 16.08 MB, free: 5.723 MB / 13.93 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.8 MB / 239.7 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008107/0.0008107, allocations: 92.08 kB / 290.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4283/0.4283, allocations: 78.41 MB / 419.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005176, allocations: 8 kB / 499.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3135, allocations: 68.75 MB / 0.5545 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3): time 0.006041/0.3196, allocations: 8.127 MB / 0.5625 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004414/0.3241, allocations: 2.948 MB / 0.5653 GB, free: 9.133 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.325, allocations: 27.88 kB / 0.5654 GB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008504/0.3259, allocations: 290.2 kB / 0.5656 GB, free: 8.82 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.002327/0.3282, allocations: 1.045 MB / 0.5667 GB, free: 7.777 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.3297, allocations: 0.9864 MB / 0.5676 GB, free: 6.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.3319, allocations: 2.694 MB / 0.5703 GB, free: 4.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.3326, allocations: 0.5415 MB / 0.5708 GB, free: 3.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.3336, allocations: 0.8477 MB / 0.5716 GB, free: 2.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3348, allocations: 1.034 MB / 0.5726 GB, free: 1.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.3351, allocations: 84 kB / 0.5727 GB, free: 1.551 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005781/0.3357, allocations: 271.8 kB / 0.573 GB, free: 1.285 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.336, allocations: 418 kB / 0.5734 GB, free: 0.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005569/0.3366, allocations: 0.8656 MB / 0.5742 GB, free: 4 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.339, allocations: 3.032 MB / 0.5772 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.339, allocations: 3.938 kB / 0.5772 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.339, allocations: 4 kB / 0.5772 GB, free: 12.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.3391, allocations: 0 / 0.5772 GB, free: 12.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.01115/0.3502, allocations: 3.417 MB / 0.5805 GB, free: 9.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3503, allocations: 8.031 kB / 0.5805 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.3534, allocations: 0.5527 MB / 0.5811 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.3565, allocations: 1.489 MB / 0.5825 GB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/0.3569, allocations: 389.4 kB / 0.5829 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.3572, allocations: 123.9 kB / 0.583 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.3602, allocations: 1.537 MB / 0.5845 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.3603, allocations: 7.984 kB / 0.5845 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.3604, allocations: 40 kB / 0.5846 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.3604, allocations: 28 kB / 0.5846 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.3638, allocations: 1.472 MB / 0.586 GB, free: 3.648 MB / 394.7 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.01055/0.3744, allocations: 6.039 MB / 0.5919 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.3889, allocations: 3.989 MB / 0.5958 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.391, allocations: 0.843 MB / 0.5966 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.3912, allocations: 17 kB / 0.5966 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.3913, allocations: 47.56 kB / 0.5967 GB, free: 8.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.178e-06/0.3913, allocations: 0 / 0.5967 GB, free: 8.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.02302/0.4143, allocations: 7.633 MB / 0.6041 GB, free: 0.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.4145, allocations: 230.6 kB / 0.6044 GB, free: 404 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.4187, allocations: 1.8 MB / 0.6061 GB, free: 14.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.419, allocations: 57.7 kB / 0.6062 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.4198, allocations: 0.7141 MB / 0.6069 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006465/0.4204, allocations: 461.4 kB / 0.6073 GB, free: 13.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/0.4209, allocations: 181.6 kB / 0.6075 GB, free: 13.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.421, allocations: 305.1 kB / 0.6078 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.4234, allocations: 0.9917 MB / 0.6087 GB, free: 11.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.426, allocations: 1.209 MB / 0.6099 GB, free: 10.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004506/0.4305, allocations: 2.111 MB / 0.612 GB, free: 8.469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4305, allocations: 0 / 0.612 GB, free: 8.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=244) (initialization): time 0.008555/0.4391, allocations: 3.528 MB / 0.6154 GB, free: 4.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.4393, allocations: 199.5 kB / 0.6156 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4393, allocations: 8 kB / 0.6156 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007082/0.4464, allocations: 2.024 MB / 0.6176 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.4477, allocations: 279.6 kB / 0.6179 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009149/0.4569, allocations: 4.725 MB / 0.6225 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.4593, allocations: 207.8 kB / 0.6227 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.4596, allocations: 63.98 kB / 0.6228 GB, free: 13.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4596, allocations: 7.938 kB / 0.6228 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007809/0.4675, allocations: 3.208 MB / 0.6259 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4675, allocations: 7.938 kB / 0.6259 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006953/0.4745, allocations: 1.977 MB / 0.6278 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.4758, allocations: 279.6 kB / 0.6281 GB, free: 7.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/0.4845, allocations: 4.67 MB / 0.6327 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.4868, allocations: 187.8 kB / 0.6328 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/0.4871, allocations: 63.98 kB / 0.6329 GB, free: 2.621 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,6), (11,54)} Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.4881, allocations: 480.8 kB / 0.6334 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/0.4886, allocations: 173.8 kB / 0.6335 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009359/0.498, allocations: 3.139 MB / 0.6366 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.4981, allocations: 11.97 kB / 0.6366 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4981, allocations: 0 / 0.6366 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/0.4987, allocations: 278.9 kB / 0.6369 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/0.4992, allocations: 40.06 kB / 0.6369 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/0.5012, allocations: 179.8 kB / 0.6371 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/0.502, allocations: 272.5 kB / 0.6373 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01054/0.5126, allocations: 3.194 MB / 0.6405 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006694/0.5193, allocations: 3.186 MB / 0.6436 GB, free: 7.578 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001863/0.5212, allocations: 0.8472 MB / 0.6444 GB, free: 6.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002822/0.524, allocations: 1.264 MB / 0.6456 GB, free: 5.473 MB / 458.7 MB Notification: Performance of Backend: time 5.91e-07/0.524, allocations: 0 / 0.6456 GB, free: 5.473 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01354/0.5376, allocations: 4.819 MB / 0.6503 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of SimCode: time 0.00631/0.5439, allocations: 4.517 MB / 0.6547 GB, free: 11.95 MB / 474.7 MB Notification: Performance of Templates: time 0.2535/0.7975, allocations: 38.15 MB / 0.692 GB, free: 115.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)