Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.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.NonMultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM") translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3469/0.3469, allocations: 78.55 MB / 94.8 MB, free: 3.859 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.001051/0.001051, allocations: 109.1 kB / 114.4 MB, free: 9.824 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.001169/0.001169, allocations: 194.9 kB / 134 MB, free: 6.176 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.344/1.344, allocations: 222.9 MB / 376.4 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.6925/0.6925, allocations: 62.27 MB / 0.4957 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003608/0.003608, allocations: 131.8 kB / 0.5764 GB, free: 5.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.5533, allocations: 69.5 MB / 0.6443 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.004704/0.558, allocations: 4.059 MB / 0.6482 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.5604, allocations: 1.258 MB / 0.6495 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.5607, allocations: 4.5 kB / 0.6495 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.561, allocations: 139.3 kB / 0.6496 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.5616, allocations: 247.7 kB / 0.6498 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.5628, allocations: 0.6059 MB / 0.6504 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.5637, allocations: 0.8654 MB / 0.6513 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.564, allocations: 152.9 kB / 0.6514 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.5644, allocations: 373.6 kB / 0.6518 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.5649, allocations: 491.6 kB / 0.6523 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.5651, allocations: 69.72 kB / 0.6523 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.5654, allocations: 127.1 kB / 0.6524 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.5655, allocations: 186.7 kB / 0.6526 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.5658, allocations: 368.9 kB / 0.653 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008112/0.5666, allocations: 0.9075 MB / 0.6539 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5666, allocations: 3.938 kB / 0.6539 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5666, allocations: 0 / 0.6539 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5667, allocations: 0 / 0.6539 GB, free: 10.95 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00466/0.5713, allocations: 1.564 MB / 0.6554 GB, free: 9.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5714, allocations: 9.25 kB / 0.6554 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.5738, allocations: 411.8 kB / 0.6558 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.5747, allocations: 0.5282 MB / 0.6563 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.5748, allocations: 127.7 kB / 0.6564 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.5749, allocations: 48.84 kB / 0.6565 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.5762, allocations: 0.6684 MB / 0.6571 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.5762, allocations: 3.938 kB / 0.6571 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.5763, allocations: 23.31 kB / 0.6572 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5763, allocations: 10.78 kB / 0.6572 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.5776, allocations: 0.6252 MB / 0.6578 GB, free: 8.434 MB / 446.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.003054/0.5807, allocations: 1.907 MB / 0.6596 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5817, allocations: 0.7837 MB / 0.6604 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.5824, allocations: 487.9 kB / 0.6609 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.5825, allocations: 8.547 kB / 0.6609 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.5825, allocations: 47 kB / 0.6609 GB, free: 5.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.655e-06/0.5825, allocations: 0 / 0.6609 GB, free: 5.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01293/0.5955, allocations: 3.929 MB / 0.6648 GB, free: 1.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.5956, allocations: 85.61 kB / 0.6648 GB, free: 1.441 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/0.5962, allocations: 0.5185 MB / 0.6653 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.5962, allocations: 33.7 kB / 0.6654 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.5964, allocations: 281.2 kB / 0.6656 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.5966, allocations: 212.8 kB / 0.6658 GB, free: 392 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.5967, allocations: 102.3 kB / 0.6659 GB, free: 280 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5969, allocations: 374.8 kB / 0.6663 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.5976, allocations: 365.1 kB / 0.6667 GB, free: 15.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/0.5985, allocations: 462.6 kB / 0.6671 GB, free: 15.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.6, allocations: 0.8502 MB / 0.6679 GB, free: 14.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6, allocations: 0 / 0.6679 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01173/0.6118, allocations: 2.948 MB / 0.6708 GB, free: 11.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.6118, allocations: 4 kB / 0.6708 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6118, allocations: 4 kB / 0.6708 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008781/0.6206, allocations: 1.839 MB / 0.6726 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.621, allocations: 51.92 kB / 0.6727 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.639, allocations: 8.314 MB / 0.6808 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.64, allocations: 83.48 kB / 0.6809 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/0.6401, allocations: 27.88 kB / 0.6809 GB, free: 0.7461 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.6405, allocations: 177.8 kB / 0.681 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.6407, allocations: 67.19 kB / 0.6811 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007975/0.6487, allocations: 2.558 MB / 0.6836 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6487, allocations: 11.94 kB / 0.6836 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.6487, allocations: 4 kB / 0.6836 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6488, allocations: 3.984 kB / 0.6836 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009542/0.6583, allocations: 3.525 MB / 0.6871 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6583, allocations: 4 kB / 0.6871 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.6588, allocations: 71.84 kB / 0.6871 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004143/0.6629, allocations: 1.156 MB / 0.6883 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.663, allocations: 23.92 kB / 0.6883 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.6748, allocations: 5.695 MB / 0.6939 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6748, allocations: 4 kB / 0.6939 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009288/0.6841, allocations: 3.223 MB / 0.697 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.6845, allocations: 156.2 kB / 0.6972 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.6847, allocations: 12 kB / 0.6972 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.6856, allocations: 47.95 kB / 0.6972 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/0.686, allocations: 128.4 kB / 0.6973 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.6861, allocations: 16 kB / 0.6974 GB, free: 15.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005317/0.6866, allocations: 378.8 kB / 0.6977 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6866, allocations: 0 / 0.6977 GB, free: 15.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001133/0.6877, allocations: 271.8 kB / 0.698 GB, free: 14.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,SPIM.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 (41): * Single equations (assignments): 40 * 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,14,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.688, allocations: 115.3 kB / 0.6981 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003819/0.6918, allocations: 1.466 MB / 0.6995 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6918, allocations: 0 / 0.6995 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002665/0.6945, allocations: 0.9428 MB / 0.7004 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.6952, allocations: 62.3 kB / 0.7005 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.6982, allocations: 1.325 MB / 0.7018 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.6989, allocations: 0.9073 MB / 0.7027 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.6991, allocations: 52.55 kB / 0.7027 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.6993, allocations: 47.42 kB / 0.7028 GB, free: 9.934 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6993, allocations: 0 / 0.7028 GB, free: 9.934 MB / 494.1 MB Notification: Performance of Templates: time 0.02971/0.729, allocations: 17.42 MB / 0.7198 GB, free: 8.547 MB / 0.4982 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)