Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.0009431, allocations: 178.8 kB / 15.8 MB, free: 6.34 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.432/1.432, allocations: 223.2 MB / 239.7 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.000891, allocations: 96.06 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04326/0.04326, allocations: 8.095 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 9.25 kB / 413.1 MB, free: 89.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09814, allocations: 52.53 MB / 465.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4568, allocations: 80.59 MB / 0.5334 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4571, allocations: 65.41 kB / 0.5335 GB, free: 16.72 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:258:7-259:66:writable] Warning: connect(terminalA, terminalA) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.4883, allocations: 12.8 MB / 0.546 GB, free: 31.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4884, allocations: 0 / 0.546 GB, free: 31.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.4884, allocations: 5.281 kB / 0.546 GB, free: 31.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002526/0.4909, allocations: 0.8949 MB / 0.5468 GB, free: 30.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.491, allocations: 7.5 kB / 0.5468 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.4913, allocations: 57.97 kB / 0.5469 GB, free: 30.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.4918, allocations: 382.6 kB / 0.5473 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4918, allocations: 19.22 kB / 0.5473 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.4918, allocations: 30 kB / 0.5473 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.4925, allocations: 448.3 kB / 0.5477 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4925, allocations: 3.938 kB / 0.5477 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.4926, allocations: 14.81 kB / 0.5478 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4926, allocations: 15.7 kB / 0.5478 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.4932, allocations: 450.5 kB / 0.5482 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.4958, allocations: 2.117 MB / 0.5503 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.4968, allocations: 0.6055 MB / 0.5509 GB, free: 29.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.497, allocations: 100.7 kB / 0.551 GB, free: 29.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.4976, allocations: 467.9 kB / 0.5514 GB, free: 28.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.966e-06/0.4976, allocations: 0 / 0.5514 GB, free: 28.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.005354/0.5029, allocations: 1.818 MB / 0.5532 GB, free: 28.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.5031, allocations: 198 kB / 0.5534 GB, free: 28.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.5034, allocations: 298.7 kB / 0.5537 GB, free: 28.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.5035, allocations: 33.58 kB / 0.5537 GB, free: 28.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5036, allocations: 172.2 kB / 0.5539 GB, free: 28.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5037, allocations: 165.2 kB / 0.554 GB, free: 28.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.5038, allocations: 11.44 kB / 0.554 GB, free: 28.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5039, allocations: 345.8 kB / 0.5543 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.5042, allocations: 238.2 kB / 0.5546 GB, free: 27.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.5046, allocations: 266.8 kB / 0.5548 GB, free: 27.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.505, allocations: 300.2 kB / 0.5551 GB, free: 27.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.505, allocations: 0 / 0.5551 GB, free: 27.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002289/0.5073, allocations: 1.067 MB / 0.5562 GB, free: 27.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.5074, allocations: 38.77 kB / 0.5562 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5074, allocations: 0 / 0.5562 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/0.5097, allocations: 0.5064 MB / 0.5567 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.51, allocations: 62.5 kB / 0.5568 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.5154, allocations: 3.799 MB / 0.5605 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.5159, allocations: 34.06 kB / 0.5605 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.516, allocations: 17.8 kB / 0.5605 GB, free: 26.12 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.line2.myFault.fault,line2.myFault.fault,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.5163, allocations: 227 kB / 0.5607 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.5164, allocations: 36.81 kB / 0.5608 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/0.5192, allocations: 1.172 MB / 0.5619 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.5192, allocations: 8.234 kB / 0.5619 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.5192, allocations: 0 / 0.5619 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5193, allocations: 7.953 kB / 0.5619 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.5226, allocations: 1.91 MB / 0.5638 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5226, allocations: 0 / 0.5638 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.5229, allocations: 56.23 kB / 0.5638 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.525, allocations: 0.5023 MB / 0.5643 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.525, allocations: 11.78 kB / 0.5643 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.5302, allocations: 3.769 MB / 0.568 GB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5302, allocations: 3.516 kB / 0.568 GB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.5329, allocations: 1.186 MB / 0.5692 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.5331, allocations: 132.6 kB / 0.5693 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.5332, allocations: 16.27 kB / 0.5693 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.5336, allocations: 24.53 kB / 0.5693 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.5337, allocations: 47.8 kB / 0.5694 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.5338, allocations: 19.42 kB / 0.5694 GB, free: 23.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003468/0.5342, allocations: 242.3 kB / 0.5696 GB, free: 23.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5342, allocations: 0 / 0.5696 GB, free: 23.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007792/0.535, allocations: 181.1 kB / 0.5698 GB, free: 23.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002595/0.5352, allocations: 141.6 kB / 0.57 GB, free: 23.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.5371, allocations: 0.9141 MB / 0.5708 GB, free: 23.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5371, allocations: 1.094 kB / 0.5708 GB, free: 23.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5383, allocations: 0.6807 MB / 0.5715 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.5386, allocations: 28.83 kB / 0.5715 GB, free: 23.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.54, allocations: 0.9037 MB / 0.5724 GB, free: 22.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.5406, allocations: 0.8164 MB / 0.5732 GB, free: 21.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.5408, allocations: 52.67 kB / 0.5733 GB, free: 21.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.5409, allocations: 35.94 kB / 0.5733 GB, free: 21.87 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5409, allocations: 0 / 0.5733 GB, free: 21.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01765/0.5586, allocations: 10.21 MB / 0.5833 GB, free: 18 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)