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: "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3738/0.3738, allocations: 78.57 MB / 93.84 MB, free: 4.328 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.0007382/0.0007382, allocations: 85.3 kB / 113.6 MB, free: 10.11 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.000879/0.0008791, allocations: 184.4 kB / 133.4 MB, free: 6.277 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.278/1.278, allocations: 223.2 MB / 376.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.571/0.571, allocations: 62.18 MB / 0.4967 GB, free: 5.172 MB / 382.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004731, allocations: 21.09 kB / 0.5777 GB, free: 61.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08654, allocations: 70.72 MB / 0.6468 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.002555/0.08913, allocations: 3.88 MB / 0.6506 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.09056, allocations: 1.264 MB / 0.6518 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.09071, allocations: 8 kB / 0.6518 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.09095, allocations: 111.3 kB / 0.6519 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.09132, allocations: 206.7 kB / 0.6521 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.09223, allocations: 0.5706 MB / 0.6527 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.09273, allocations: 0.8098 MB / 0.6535 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.09291, allocations: 136.8 kB / 0.6536 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.09314, allocations: 326.5 kB / 0.6539 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.09356, allocations: 454 kB / 0.6543 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.09364, allocations: 40 kB / 0.6544 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.09381, allocations: 99.91 kB / 0.6545 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.09391, allocations: 151.3 kB / 0.6546 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.09412, allocations: 359.5 kB / 0.6549 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.09468, allocations: 0.8447 MB / 0.6558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.09469, allocations: 0 / 0.6558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.0947, allocations: 0 / 0.6558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.09471, allocations: 0 / 0.6558 GB, free: 15.8 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.004753/0.09947, allocations: 1.477 MB / 0.6572 GB, free: 14.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.09951, allocations: 11.97 kB / 0.6572 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.09962, allocations: 86.7 kB / 0.6573 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.1022, allocations: 419.5 kB / 0.6577 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.1029, allocations: 0.5102 MB / 0.6582 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.103, allocations: 134.1 kB / 0.6583 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.1031, allocations: 44 kB / 0.6584 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1045, allocations: 0.7127 MB / 0.6591 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1045, allocations: 0 / 0.6591 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.1046, allocations: 20 kB / 0.6591 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1046, allocations: 12 kB / 0.6591 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.106, allocations: 0.6637 MB / 0.6598 GB, free: 11.59 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.003162/0.1092, allocations: 1.974 MB / 0.6617 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1105, allocations: 0.8139 MB / 0.6625 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009994/0.1116, allocations: 0.507 MB / 0.663 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-05/0.1116, allocations: 12.5 kB / 0.663 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1117, allocations: 35.12 kB / 0.663 GB, free: 8.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=64): time 1.774e-06/0.1117, allocations: 0 / 0.663 GB, free: 8.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=64): time 0.0173/0.129, allocations: 4.777 MB / 0.6677 GB, free: 3.266 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.129, allocations: 85.67 kB / 0.6678 GB, free: 3.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.1296, allocations: 0.5185 MB / 0.6683 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.1297, allocations: 33.7 kB / 0.6683 GB, free: 2.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1299, allocations: 281.1 kB / 0.6686 GB, free: 2.316 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.1301, allocations: 228.7 kB / 0.6688 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.1302, allocations: 49.69 kB / 0.6688 GB, free: 2.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1303, allocations: 374.8 kB / 0.6692 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.1313, allocations: 413.1 kB / 0.6696 GB, free: 1.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009497/0.1322, allocations: 0.4907 MB / 0.6701 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.1341, allocations: 0.9167 MB / 0.671 GB, free: 15.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1341, allocations: 8 kB / 0.671 GB, free: 15.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01388/0.148, allocations: 3.499 MB / 0.6744 GB, free: 12.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.148, allocations: 9.25 kB / 0.6744 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.148, allocations: 128 / 0.6744 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.1583, allocations: 2.069 MB / 0.6764 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1585, allocations: 63.91 kB / 0.6765 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.1785, allocations: 8.226 MB / 0.6845 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.1793, allocations: 103.5 kB / 0.6846 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.1794, allocations: 23.98 kB / 0.6846 GB, free: 1.625 MB / 478.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.0002481/0.1796, allocations: 177.8 kB / 0.6848 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.1798, allocations: 63.25 kB / 0.6849 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.1898, allocations: 3.105 MB / 0.6879 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1899, allocations: 8 kB / 0.6879 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1899, allocations: 8 kB / 0.6879 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1899, allocations: 7.922 kB / 0.6879 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.201, allocations: 4.072 MB / 0.6919 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.201, allocations: 4 kB / 0.6919 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.2014, allocations: 63.91 kB / 0.692 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005046/0.2065, allocations: 1.373 MB / 0.6933 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.2065, allocations: 12 kB / 0.6933 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.2192, allocations: 5.733 MB / 0.6989 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2193, allocations: 0 / 0.6989 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.2303, allocations: 3.801 MB / 0.7026 GB, free: 14.92 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.2305, allocations: 164.2 kB / 0.7028 GB, free: 14.74 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.2306, allocations: 8 kB / 0.7028 GB, free: 14.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.2314, allocations: 75.94 kB / 0.7029 GB, free: 14.66 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.2317, allocations: 120.3 kB / 0.703 GB, free: 14.54 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.2318, allocations: 19.98 kB / 0.703 GB, free: 14.52 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0004198/0.2322, allocations: 374.8 kB / 0.7033 GB, free: 14.16 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2322, allocations: 0 / 0.7033 GB, free: 14.16 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0007773/0.233, allocations: 275.8 kB / 0.7036 GB, free: 13.89 MB / 0.4982 GB 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.01147/0.2445, allocations: 4.353 MB / 0.7079 GB, free: 9.5 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.004127/0.2486, allocations: 1.595 MB / 0.7094 GB, free: 7.891 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2486, allocations: 0 / 0.7094 GB, free: 7.891 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.2516, allocations: 1.087 MB / 0.7105 GB, free: 6.793 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.2521, allocations: 58.36 kB / 0.7105 GB, free: 6.738 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/0.2861, allocations: 11.95 MB / 0.7222 GB, free: 10.63 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2865, allocations: 0.9037 MB / 0.7231 GB, free: 9.695 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0001993/0.2867, allocations: 52.55 kB / 0.7231 GB, free: 9.641 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.2871, allocations: 227.3 kB / 0.7234 GB, free: 9.418 MB / 0.5138 GB Notification: Performance of SimCode: time 3.41e-07/0.2871, allocations: 0 / 0.7234 GB, free: 9.418 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.3224, allocations: 21.13 MB / 0.744 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.3226, allocations: 296.6 kB / 0.7443 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.384, allocations: 3.938 kB / 0.7443 GB, free: 4.184 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)