Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08012/0.08012, allocations: 12.6 MB / 28.91 MB, free: 0.6289 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.001092/0.001091, allocations: 107.5 kB / 32.51 MB, free: 3.57 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.327/1.327, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001306/0.001306, allocations: 192.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4425/0.4425, allocations: 78.51 MB / 420 MB, free: 11.25 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.002721/0.002721, allocations: 139.7 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1097, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.005717/0.1155, allocations: 5.283 MB / 0.6282 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1186, allocations: 1.732 MB / 0.6299 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.1189, allocations: 4 kB / 0.6299 GB, free: 8.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.1193, allocations: 162.5 kB / 0.6301 GB, free: 8.215 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.001471/0.1208, allocations: 0.6994 MB / 0.6307 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009369/0.1217, allocations: 0.4982 MB / 0.6312 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1228, allocations: 1.203 MB / 0.6324 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.1232, allocations: 246.3 kB / 0.6326 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.1237, allocations: 498.1 kB / 0.6331 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.1243, allocations: 0.599 MB / 0.6337 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.1245, allocations: 112 kB / 0.6338 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.1249, allocations: 251.9 kB / 0.634 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.1251, allocations: 255.1 kB / 0.6343 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.1255, allocations: 0.5129 MB / 0.6348 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1268, allocations: 1.433 MB / 0.6362 GB, free: 1.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1268, allocations: 3.938 kB / 0.6362 GB, free: 1.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1268, allocations: 0 / 0.6362 GB, free: 1.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1268, allocations: 0 / 0.6362 GB, free: 1.906 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005589/0.1324, allocations: 1.858 MB / 0.638 GB, free: 15.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1325, allocations: 15.98 kB / 0.638 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/0.136, allocations: 0.5265 MB / 0.6385 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1371, allocations: 0.6858 MB / 0.6392 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.1373, allocations: 146.4 kB / 0.6393 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.1374, allocations: 64 kB / 0.6394 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.139, allocations: 0.7759 MB / 0.6402 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.139, allocations: 4 kB / 0.6402 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.1391, allocations: 20 kB / 0.6402 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1391, allocations: 15.94 kB / 0.6402 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.1406, allocations: 0.6922 MB / 0.6409 GB, free: 12.98 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.005139/0.1458, allocations: 2.893 MB / 0.6437 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.1594, allocations: 2.957 MB / 0.6466 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.1606, allocations: 493.5 kB / 0.6471 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/0.1607, allocations: 8.562 kB / 0.6471 GB, free: 6.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1608, allocations: 43.11 kB / 0.6471 GB, free: 6.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=64): time 3.466e-06/0.1608, allocations: 0 / 0.6471 GB, free: 6.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=64): time 0.01417/0.175, allocations: 3.672 MB / 0.6507 GB, free: 2.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.175, allocations: 81.67 kB / 0.6508 GB, free: 2.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1762, allocations: 0.8015 MB / 0.6516 GB, free: 1.754 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.1764, allocations: 37.7 kB / 0.6516 GB, free: 1.711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.1767, allocations: 372.6 kB / 0.6519 GB, free: 1.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.1769, allocations: 240.6 kB / 0.6522 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.1774, allocations: 182.5 kB / 0.6524 GB, free: 0.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1775, allocations: 345.9 kB / 0.6527 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.1787, allocations: 0.5475 MB / 0.6532 GB, free: 24 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.18, allocations: 0.6539 MB / 0.6539 GB, free: 15.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01903/0.199, allocations: 4.025 MB / 0.6578 GB, free: 11.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1991, allocations: 3.938 kB / 0.6578 GB, free: 11.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007937/0.207, allocations: 2.509 MB / 0.6602 GB, free: 8.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.207, allocations: 4 kB / 0.6602 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.2071, allocations: 4 kB / 0.6602 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004398/0.2115, allocations: 1.04 MB / 0.6613 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/0.2124, allocations: 171.7 kB / 0.6614 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.2237, allocations: 5.085 MB / 0.6664 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.225, allocations: 111.2 kB / 0.6665 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.2251, allocations: 31.98 kB / 0.6665 GB, free: 2.164 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001503/0.2267, allocations: 0.6985 MB / 0.6672 GB, free: 1.461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.2279, allocations: 0.6421 MB / 0.6678 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01839/0.2463, allocations: 3.982 MB / 0.6717 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.2463, allocations: 0 / 0.6717 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007711/0.254, allocations: 2.493 MB / 0.6742 GB, free: 10.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.254, allocations: 8 kB / 0.6742 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.254, allocations: 0 / 0.6742 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00445/0.2585, allocations: 1.042 MB / 0.6752 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.2594, allocations: 167.7 kB / 0.6753 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.2711, allocations: 5.076 MB / 0.6803 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.2725, allocations: 107.3 kB / 0.6804 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.2727, allocations: 31.98 kB / 0.6804 GB, free: 3.695 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (104): * Single equations (assignments): 101 * 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.0003427/0.273, allocations: 236.6 kB / 0.6807 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.2732, allocations: 90.88 kB / 0.6807 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/0.2799, allocations: 2.039 MB / 0.6827 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.2799, allocations: 3.984 kB / 0.6827 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2799, allocations: 0 / 0.6827 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.2802, allocations: 183.8 kB / 0.6829 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.2803, allocations: 16 kB / 0.6829 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.2812, allocations: 55.92 kB / 0.683 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005234/0.2817, allocations: 188.3 kB / 0.6832 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005219/0.287, allocations: 1.496 MB / 0.6846 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003304/0.2903, allocations: 1.604 MB / 0.6862 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009424/0.2912, allocations: 404.3 kB / 0.6866 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007122/0.292, allocations: 0.5342 MB / 0.6871 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of Backend: time 5.81e-07/0.292, allocations: 7.938 kB / 0.6871 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008342/0.3003, allocations: 2.986 MB / 0.69 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002697/0.303, allocations: 2.198 MB / 0.6922 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of Templates: time 0.253/0.556, allocations: 23.98 MB / 0.7156 GB, free: 87.15 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)