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.3716/0.3716, allocations: 78.55 MB / 93.67 MB, free: 4.203 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.001236/0.001236, allocations: 109.4 kB / 113.2 MB, free: 10.12 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.001663/0.001663, allocations: 180.5 kB / 132.8 MB, free: 6.496 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.478/1.478, allocations: 222.9 MB / 375.3 MB, free: 3.965 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7973/0.7973, allocations: 62.48 MB / 0.4947 GB, free: 8.5 MB / 366.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.002372/0.002372, allocations: 127.8 kB / 0.5746 GB, free: 6.797 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5314, allocations: 69.49 MB / 0.6425 GB, free: 18.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.0052/0.5366, allocations: 4.285 MB / 0.6466 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.5395, allocations: 1.287 MB / 0.6479 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.54, allocations: 9.688 kB / 0.6479 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.5404, allocations: 100.5 kB / 0.648 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005368/0.541, allocations: 207.3 kB / 0.6482 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.5422, allocations: 0.576 MB / 0.6488 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.5431, allocations: 0.8136 MB / 0.6496 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.5434, allocations: 136.2 kB / 0.6497 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.5438, allocations: 347.6 kB / 0.65 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.5443, allocations: 466.8 kB / 0.6505 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.5444, allocations: 41.78 kB / 0.6505 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.5447, allocations: 100.9 kB / 0.6506 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.5449, allocations: 155.6 kB / 0.6508 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.5451, allocations: 344.8 kB / 0.6511 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.5458, allocations: 0.8661 MB / 0.6519 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5458, allocations: 0 / 0.6519 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.5459, allocations: 3.938 kB / 0.6519 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.5459, allocations: 4 kB / 0.6519 GB, free: 10.74 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.005117/0.551, allocations: 1.573 MB / 0.6535 GB, free: 9.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.5511, allocations: 9.312 kB / 0.6535 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.5512, allocations: 81.91 kB / 0.6536 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.5537, allocations: 410.9 kB / 0.654 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.5545, allocations: 0.5165 MB / 0.6545 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.5546, allocations: 132.7 kB / 0.6546 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.39e-05/0.5547, allocations: 48.25 kB / 0.6546 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.556, allocations: 0.6678 MB / 0.6553 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.556, allocations: 4 kB / 0.6553 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.5561, allocations: 20.55 kB / 0.6553 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.5561, allocations: 10.53 kB / 0.6553 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5574, allocations: 0.6327 MB / 0.6559 GB, free: 8.152 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.003065/0.5605, allocations: 1.927 MB / 0.6578 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5617, allocations: 0.7779 MB / 0.6586 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.5625, allocations: 481.8 kB / 0.659 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.5626, allocations: 16.5 kB / 0.6591 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.5626, allocations: 39.06 kB / 0.6591 GB, free: 5.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.705e-06/0.5626, allocations: 0 / 0.6591 GB, free: 5.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01379/0.5764, allocations: 3.921 MB / 0.6629 GB, free: 1.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5765, allocations: 85.67 kB / 0.663 GB, free: 1.555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.5772, allocations: 0.5185 MB / 0.6635 GB, free: 1.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.5773, allocations: 37.7 kB / 0.6635 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.5774, allocations: 277.2 kB / 0.6638 GB, free: 0.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.5776, allocations: 224.8 kB / 0.664 GB, free: 496 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.5778, allocations: 94.25 kB / 0.6641 GB, free: 392 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.5779, allocations: 370.8 kB / 0.6645 GB, free: 12 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.5788, allocations: 377.1 kB / 0.6648 GB, free: 15.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/0.5796, allocations: 466.6 kB / 0.6653 GB, free: 15.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.5813, allocations: 0.8463 MB / 0.6661 GB, free: 14.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5814, allocations: 0 / 0.6661 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01266/0.594, allocations: 2.945 MB / 0.669 GB, free: 11.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5941, allocations: 4 kB / 0.669 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5941, allocations: 4 kB / 0.669 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009442/0.6036, allocations: 1.831 MB / 0.6708 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.6039, allocations: 59.91 kB / 0.6708 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/0.622, allocations: 7.627 MB / 0.6783 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/0.623, allocations: 83.48 kB / 0.6784 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.623, allocations: 23.92 kB / 0.6784 GB, free: 1.547 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.0003028/0.6234, allocations: 177.8 kB / 0.6785 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6235, allocations: 67.23 kB / 0.6786 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008502/0.632, allocations: 2.558 MB / 0.6811 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.632, allocations: 4 kB / 0.6811 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.6321, allocations: 8 kB / 0.6811 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6321, allocations: 3.984 kB / 0.6811 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0097/0.6418, allocations: 3.537 MB / 0.6846 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6418, allocations: 0 / 0.6846 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.6423, allocations: 71.91 kB / 0.6846 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/0.6468, allocations: 1.16 MB / 0.6858 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.6469, allocations: 12 kB / 0.6858 GB, free: 9.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.6584, allocations: 5.217 MB / 0.6909 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6584, allocations: 0 / 0.6909 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00975/0.6682, allocations: 3.219 MB / 0.694 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.6686, allocations: 156.2 kB / 0.6942 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.6687, allocations: 12 kB / 0.6942 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.6694, allocations: 55.94 kB / 0.6942 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004241/0.6699, allocations: 116.3 kB / 0.6944 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.6699, allocations: 20 kB / 0.6944 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004748/0.6704, allocations: 375 kB / 0.6947 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6704, allocations: 3.938 kB / 0.6947 GB, free: 500 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001058/0.6715, allocations: 275.8 kB / 0.695 GB, free: 224 kB / 478.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.01017/0.6817, allocations: 3.788 MB / 0.6987 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003948/0.6856, allocations: 1.439 MB / 0.7001 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6857, allocations: 0 / 0.7001 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.6884, allocations: 0.9505 MB / 0.701 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.6891, allocations: 62.19 kB / 0.7011 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03223/0.7214, allocations: 10.71 MB / 0.7115 GB, free: 15.06 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.722, allocations: 0.9077 MB / 0.7124 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0003021/0.7223, allocations: 48.56 kB / 0.7125 GB, free: 14.07 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.7226, allocations: 227.3 kB / 0.7127 GB, free: 13.85 MB / 0.4982 GB Notification: Performance of SimCode: time 1.002e-06/0.7226, allocations: 0 / 0.7127 GB, free: 13.85 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.7605, allocations: 21.53 MB / 0.7337 GB, free: 8.566 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/0.7608, allocations: 304.1 kB / 0.734 GB, free: 8.184 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.072, allocations: 0 / 0.734 GB, free: 8.184 MB / 0.5138 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)