Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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/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/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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) 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 OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM") translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4305/0.4305, allocations: 78.53 MB / 94.16 MB, free: 3.945 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001339, allocations: 118.4 kB / 113.7 MB, free: 9.816 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 192.5 kB / 133.4 MB, free: 6.172 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 375.8 MB, free: 3.801 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.804/0.804, allocations: 62.26 MB / 0.4951 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 132.4 kB / 0.6441 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1726, allocations: 69.51 MB / 0.712 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM): time 0.005157/0.1778, allocations: 4.35 MB / 0.7162 GB, free: 9.105 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.1806, allocations: 1.354 MB / 0.7176 GB, free: 7.75 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.1809, allocations: 4 kB / 0.7176 GB, free: 7.746 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1813, allocations: 134.8 kB / 0.7177 GB, free: 7.613 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.1819, allocations: 298 kB / 0.718 GB, free: 7.32 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1834, allocations: 0.6721 MB / 0.7186 GB, free: 6.652 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1846, allocations: 1.041 MB / 0.7197 GB, free: 5.605 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.1849, allocations: 165 kB / 0.7198 GB, free: 5.43 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.1853, allocations: 438.3 kB / 0.7202 GB, free: 5 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007446/0.186, allocations: 0.5681 MB / 0.7208 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1862, allocations: 88 kB / 0.7209 GB, free: 4.344 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1866, allocations: 148 kB / 0.721 GB, free: 4.199 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1868, allocations: 223.1 kB / 0.7212 GB, free: 3.98 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.1874, allocations: 437.6 kB / 0.7216 GB, free: 3.551 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1885, allocations: 1.058 MB / 0.7227 GB, free: 2.488 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1886, allocations: 4 kB / 0.7227 GB, free: 2.484 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1886, allocations: 4 kB / 0.7227 GB, free: 2.48 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1886, allocations: 0 / 0.7227 GB, free: 2.48 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005546/0.1941, allocations: 1.769 MB / 0.7244 GB, free: 0.6562 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1942, allocations: 8.031 kB / 0.7244 GB, free: 0.6484 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.1966, allocations: 424 kB / 0.7248 GB, free: 240 kB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.1975, allocations: 0.5652 MB / 0.7254 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.1976, allocations: 130.4 kB / 0.7255 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.1978, allocations: 56 kB / 0.7255 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.1994, allocations: 0.8587 MB / 0.7264 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1994, allocations: 0 / 0.7264 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.1995, allocations: 20 kB / 0.7264 GB, free: 14.53 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1995, allocations: 16 kB / 0.7264 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.2016, allocations: 0.9694 MB / 0.7274 GB, free: 13.55 MB / 0.5138 GB 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.003762/0.2054, allocations: 2.289 MB / 0.7296 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.2074, allocations: 1.248 MB / 0.7308 GB, free: 9.809 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.2085, allocations: 0.623 MB / 0.7314 GB, free: 9.184 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.2086, allocations: 12.98 kB / 0.7314 GB, free: 9.172 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2087, allocations: 47.55 kB / 0.7315 GB, free: 9.113 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=90): time 3.236e-06/0.2087, allocations: 0 / 0.7315 GB, free: 9.113 MB / 0.5138 GB Notification: Performance of matching and sorting (n=90): time 0.01714/0.2258, allocations: 4.728 MB / 0.7361 GB, free: 4.355 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.2259, allocations: 90.11 kB / 0.7362 GB, free: 4.25 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.2269, allocations: 0.542 MB / 0.7367 GB, free: 3.699 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.2271, allocations: 37.7 kB / 0.7368 GB, free: 3.656 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.2273, allocations: 289.4 kB / 0.737 GB, free: 3.371 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/0.2277, allocations: 329.2 kB / 0.7373 GB, free: 3.047 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.228, allocations: 134.6 kB / 0.7375 GB, free: 2.906 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.2282, allocations: 382.8 kB / 0.7378 GB, free: 2.523 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.2292, allocations: 481.8 kB / 0.7383 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.2304, allocations: 0.593 MB / 0.7389 GB, free: 1.43 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/0.2481, allocations: 3.972 MB / 0.7428 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2481, allocations: 4 kB / 0.7428 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008859/0.257, allocations: 2.863 MB / 0.7456 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.257, allocations: 4 kB / 0.7456 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2571, allocations: 4 kB / 0.7456 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/0.2615, allocations: 1.167 MB / 0.7467 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.2625, allocations: 107.9 kB / 0.7468 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.2781, allocations: 7.069 MB / 0.7537 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.2796, allocations: 107.5 kB / 0.7538 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.2796, allocations: 28 kB / 0.7538 GB, free: 1.906 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: DPIM.s:VARIABLE(start = DPIM.s0 unit = "1" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (68): * Single equations (assignments): 67 * 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): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000571/0.2802, allocations: 201.7 kB / 0.754 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.2806, allocations: 79.53 kB / 0.7541 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008701/0.2893, allocations: 2.918 MB / 0.757 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.2893, allocations: 15.94 kB / 0.757 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.2894, allocations: 4 kB / 0.757 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.2894, allocations: 7.984 kB / 0.757 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.2997, allocations: 4.06 MB / 0.7609 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.2998, allocations: 7.938 kB / 0.761 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.3007, allocations: 95.84 kB / 0.761 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003901/0.3046, allocations: 1.125 MB / 0.7621 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.3048, allocations: 16 kB / 0.7622 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.3182, allocations: 6.314 MB / 0.7683 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3182, allocations: 4 kB / 0.7683 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009846/0.3281, allocations: 3.716 MB / 0.772 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.3284, allocations: 168.5 kB / 0.7721 GB, free: 14.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3286, allocations: 16 kB / 0.7721 GB, free: 14.87 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.3295, allocations: 67.94 kB / 0.7722 GB, free: 14.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/0.3299, allocations: 140.7 kB / 0.7723 GB, free: 14.67 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.33, allocations: 20 kB / 0.7724 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0004721/0.3305, allocations: 394.8 kB / 0.7727 GB, free: 14.27 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3305, allocations: 0 / 0.7727 GB, free: 14.27 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0009346/0.3314, allocations: 311.8 kB / 0.773 GB, free: 13.96 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,DPIM.s,Inf.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 (59): * Single equations (assignments): 58 * 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): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/0.3316, allocations: 123.1 kB / 0.7731 GB, free: 13.83 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.004114/0.3358, allocations: 1.71 MB / 0.7748 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3358, allocations: 0 / 0.7748 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.3387, allocations: 1.14 MB / 0.7759 GB, free: 10.95 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.3395, allocations: 70.45 kB / 0.776 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.3428, allocations: 1.632 MB / 0.7776 GB, free: 9.215 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3433, allocations: 0.94 MB / 0.7785 GB, free: 8.246 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.3437, allocations: 69.16 kB / 0.7786 GB, free: 8.18 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.3439, allocations: 51.42 kB / 0.7786 GB, free: 8.129 MB / 0.5607 GB Notification: Performance of SimCode: time 8.31e-07/0.3439, allocations: 0 / 0.7786 GB, free: 8.129 MB / 0.5607 GB Notification: Performance of Templates: time 0.02481/0.3687, allocations: 16.23 MB / 0.7945 GB, free: 7.941 MB / 0.5763 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe 2>&1)