Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07835/0.07835, allocations: 12.6 MB / 28.91 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111.5 kB / 32.51 MB, free: 3.562 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 191.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4792/0.4792, allocations: 78.51 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 143.3 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1269, allocations: 68.12 MB / 0.623 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.007304/0.1343, allocations: 5.98 MB / 0.6289 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1383, allocations: 2.095 MB / 0.6309 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.1388, allocations: 15.94 kB / 0.6309 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.1394, allocations: 246.1 kB / 0.6312 GB, free: 7.066 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001613/0.1411, allocations: 0.809 MB / 0.632 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1423, allocations: 0.7016 MB / 0.6326 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.144, allocations: 1.839 MB / 0.6344 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1444, allocations: 301.3 kB / 0.6347 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000841/0.1452, allocations: 0.6851 MB / 0.6354 GB, free: 2.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009751/0.1462, allocations: 0.7937 MB / 0.6362 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.1465, allocations: 164 kB / 0.6363 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.147, allocations: 299.8 kB / 0.6366 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.1474, allocations: 370.7 kB / 0.637 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.148, allocations: 0.6684 MB / 0.6376 GB, free: 440 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.1499, allocations: 1.986 MB / 0.6396 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1499, allocations: 4 kB / 0.6396 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1499, allocations: 0 / 0.6396 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1499, allocations: 0 / 0.6396 GB, free: 14.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007245/0.1572, allocations: 2.267 MB / 0.6418 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1572, allocations: 11.98 kB / 0.6418 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.161, allocations: 0.5536 MB / 0.6423 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.1629, allocations: 1.014 MB / 0.6433 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.1633, allocations: 243.4 kB / 0.6436 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1634, allocations: 75.91 kB / 0.6436 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.1654, allocations: 0.9679 MB / 0.6446 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1655, allocations: 3.938 kB / 0.6446 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.1656, allocations: 28 kB / 0.6446 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1656, allocations: 12 kB / 0.6446 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.1676, allocations: 0.9148 MB / 0.6455 GB, free: 8.184 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.006399/0.174, allocations: 3.627 MB / 0.649 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.1888, allocations: 3.282 MB / 0.6523 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.1903, allocations: 0.5838 MB / 0.6528 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.387e-05/0.1904, allocations: 16.64 kB / 0.6528 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1905, allocations: 43.22 kB / 0.6529 GB, free: 460 kB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 3.576e-06/0.1905, allocations: 0 / 0.6529 GB, free: 460 kB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01472/0.2052, allocations: 3.951 MB / 0.6567 GB, free: 12.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.2053, allocations: 111.5 kB / 0.6568 GB, free: 12.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2076, allocations: 1.169 MB / 0.658 GB, free: 11.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.2077, allocations: 41.7 kB / 0.658 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.2081, allocations: 472.6 kB / 0.6585 GB, free: 10.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.2084, allocations: 280 kB / 0.6587 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.2088, allocations: 206.8 kB / 0.6589 GB, free: 10.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.209, allocations: 345.9 kB / 0.6593 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2105, allocations: 0.6619 MB / 0.6599 GB, free: 9.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.212, allocations: 0.779 MB / 0.6607 GB, free: 8.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02103/0.2331, allocations: 4.516 MB / 0.6651 GB, free: 3.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2331, allocations: 0 / 0.6651 GB, free: 3.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008598/0.2417, allocations: 2.769 MB / 0.6678 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.2418, allocations: 6.969 kB / 0.6678 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2418, allocations: 7.938 kB / 0.6678 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004498/0.2463, allocations: 1.037 MB / 0.6688 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.2476, allocations: 223.7 kB / 0.669 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.2589, allocations: 5.077 MB / 0.674 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.2607, allocations: 170.9 kB / 0.6742 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.2608, allocations: 47.92 kB / 0.6742 GB, free: 10.24 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00179/0.2626, allocations: 0.8421 MB / 0.675 GB, free: 9.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001428/0.2641, allocations: 0.7518 MB / 0.6758 GB, free: 8.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02071/0.2848, allocations: 4.458 MB / 0.6801 GB, free: 4.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.67e-06/0.2848, allocations: 0 / 0.6801 GB, free: 4.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008936/0.2938, allocations: 2.711 MB / 0.6828 GB, free: 1.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2938, allocations: 4 kB / 0.6828 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2938, allocations: 4 kB / 0.6828 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004551/0.2984, allocations: 1.042 MB / 0.6838 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.2997, allocations: 211.7 kB / 0.684 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.3115, allocations: 5.081 MB / 0.6889 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.3134, allocations: 155 kB / 0.6891 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.3136, allocations: 39.98 kB / 0.6891 GB, free: 10.71 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.314, allocations: 229.6 kB / 0.6894 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.3144, allocations: 114.6 kB / 0.6895 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007228/0.3216, allocations: 2.287 MB / 0.6917 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.3217, allocations: 3.984 kB / 0.6917 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3217, allocations: 0 / 0.6917 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.3221, allocations: 223.5 kB / 0.6919 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.3224, allocations: 19.98 kB / 0.6919 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.3237, allocations: 99.88 kB / 0.692 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004826/0.3242, allocations: 200.2 kB / 0.6922 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005979/0.3301, allocations: 1.764 MB / 0.6939 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004189/0.3343, allocations: 2.008 MB / 0.6959 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001278/0.3356, allocations: 0.5244 MB / 0.6964 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001781/0.3374, allocations: 0.8194 MB / 0.6972 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of Backend: time 2.21e-07/0.3374, allocations: 0 / 0.6972 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009242/0.3467, allocations: 3.231 MB / 0.7004 GB, free: 15 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00383/0.3506, allocations: 2.646 MB / 0.703 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.3277/0.6783, allocations: 28.4 MB / 0.7307 GB, free: 82.36 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)